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.
- Is it possible to make payments in RON (Romanian Leu) through PayPal? in REST APIs
- Payments Refunded Automatically After Successful Transactions - PayPal Business Account Issue in REST APIs
- p is not a function error using the example downloaded from Paypal in SDKs
- How to enable on-demand / recurring payments to existing PayPal checkout? in SDKs
- How do you create subscriptions with PayPal Advanced Checkout? in SDKs