-
Notifications
You must be signed in to change notification settings - Fork 461
Frequently Asked Questions
The following are a list of frequently asked questions regarding the PayPal .NET SDK.
NOTE: This page uses MediaWiki formatting to allow for the table of contents to be auto-generated. Please preserve this formatting when updating this page. Thanks!
In order to target the live or sandbox PayPal services, you will need to set the following fields in your project's web.config or app.config file:
- Set
mode
tolive
orsandbox
- Set both
clientId
andclientSecret
to the corresponding credentials for either live or sandbox
The PayPal Developer site has a great overview of the payment flow for PayPal payments. It essentially boils down to the following steps:
-
Create a payment resource with
payment_method
set topaypal
. -
Approve the payment by redirecting the buyer to PayPal via the created payment's
approval_url
link. - Execute the payment after the user has provided their consent.
Related question answered on GitHub in Issue #70.
Related questions:
- PayPal .NET SDK - Issue #78
- PayPal PHP SDK - Issue #244
- PayPal Python SDK - Issue #3
- StackOverflow
Unfortunately, no.
The SDK team has tried hard to push for this support as it makes it difficult for merchants using the Classic API to switch over to the REST API. According to the Payments API team, it is unlikely this support will be coming anytime soon, if ever, in the REST Payments API.
Home | Installation | Make Your First Call | Samples | FAQ | Report Issues
Getting Started
Using the PayPal .NET SDK
Extras
Links