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
- Simple Paypal button integration results in 404 error in Sandbox Environment
- Advanced Checkout Error Trigger is not triggering an error but still going through onApprove in Sandbox Environment
- How to redirect user to paypal checkout form for card payment? in PayPal Payments Standard
- Payment not automatically being captured, funds not transferred in Sandbox Environment
- Advance integration form field processing in REST APIs