onApprove data.paymentID is undefined
nick_developer
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Sep-24-2019
09:51 AM
Hi,
I'm building a client approve then a server side order capture.
After calling onApprove in client, I get the data.orderID and data.payerID from PayPal response, but the data.paymentID is undefined.
On older API I was using payerID and paymentID after onAuthorize (now it's onApprove,right?)
So how can I capture the order on server side if I have no paymentID ?
On the new API to capture an order on server side is needed only the data.oderID received from Paypal Response ?
thanks
0 REPLIES 0

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
Related Content
- Paypal 3DS intigration error in NVP/SOAP APIs
- Help me find the solution for the error 'rwindow.paypal.Buttons is undefined.' in Next.js project in PayPal Payments Standard
- PayPal integration with Next, Lambda and API Gateway - 400 Invalid Request in Sandbox Environment
- paypal angular sandbox, receiving not approved order ,when Capture even OnApprove is triggered in Sandbox Environment
- How do I handle INSTRUMENT_DECLINED error? in REST APIs