Express checkout client side, execute payment
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
A live payment has been done with express checkout api client side.
It has not been executed in the onauthorize function.
Actually I only have the paymentID.
So how can i execute it now to get the money ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, if the paymentID is like PAY-AB12CD34EF56TSTSTS you can execute those payIDs calling the REST execution method
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Indeed, you need the payer ID to execute it. I ran a test also executing the paymentID via the method /v1/payments/payment/{payment_id}/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Here the flow i nREST:
Make an API call: https://developer.paypal.com/docs/integration/direct/make-your-first-call/#make-an-api-call
1> get an access token: https://developer.paypal.com/docs/integration/direct/make-your-first-call/#get-an-access-token
2> create a payment with https://api.paypal.com/v1/payments/payment passing the access token
3> you get a payment_id
4> execute the payment with /v1/payments/payment/<your_payment_id>/execute
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Need help to integrate Advanced Checkout (PPCP) With WHMCS in PayPal Upgrade Community
- I want to implement subscription functionality. in REST APIs
- Need help to integrate PayPal Checkout with Ecwid in PayPal Upgrade Community
- Change the button from Sandbox to Production in PayPal Payments Standard
- Mandatory Account Creation Hindering Customer Experience in REST APIs