Rest V1 Migration Guidance?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, I have been using the PayPal SDK v1.9.1 (https://www.nuget.org/packages/PayPal/2.0.0-beta00?_src=template) in C# for a very long time. But I have been getting sandbox payments rejected in recent testing. It appears that the sandbox is reject V1 calls.
All I need to do is accept credit cards on my site.
My system is all server-side. And the user should have no interaction with paypal websites during a purchase.
It appears that the above PayPal SDK is no longer maintained. So where do I go from here?
I'm trying to use the PayPalCheckoutSdk (https://github.com/paypal/Checkout-NET-SDK) to refactor my code. But I cannot make heads-or-tails of the workflow.
The docs say basically:
Create an OrdersCreateRequest;
That requires an request body of type OrderRequest.
So I'm building up the OrderRequest with a single PurchaseUnit with an AmountWithBreakdown.
Then I use the PayPalHttpClient to execute the request async.
If that succeeds I should get an Order object.
But I'm reading in the docs that I now need to send the user to some link to approve the order. And then after that I need to capture the order? What the heck is all that?
If I'm not using the correct SDK for accepting credit cards directly on my site, then which one should I use?
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Which REST API to use when sending money to family using my bank account as funding source in REST APIs
- REST vs SOAP Comparison, is it worth upgrading? in NVP/SOAP APIs
- Migrating from SOAP to REST in NVP/SOAP APIs
- Is the old/existing preapprovalKey still available after migrating SOAP API to REST API in REST APIs
- we want migrate paypal v1 to v2 rest api in REST APIs