Validating Checkout payments
blinksbjerg
New Community Member
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Feb-20-2021
10:05 AM
Hi,
I've added the buttons from
https://developer.paypal.com/docs/checkout/integrate/
In the paypal.Buttons({...})
I have a
onApprove: function(data, actions) {
console.log(data);
My plan was to use data.payerID and data.paymentID to validate the payment, but data.paymentID is null.
Any ideas?
I've tried calling https://api-m.paypal.com/v1/checkout/orders/*id* but I keep getting a "No permission for the requested operation".
Labels:
- Labels:
-
Button APIs
-
Express Checkout
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
- How to enable/disable Pay Later when using HTML Form Basics for PayPal Payments Standard in PayPal Payments Standard
- Need help to integrate PayPal Advanced Checkout (PPCP) With Shift4Shop? in PayPal Upgrade Community
- Customising Paypal Checkout Button in PayPal Payments Standard
- Paypal express checkout, payment they error "Sorry, something went wrong. Please try again." in PayPal Payments Standard
- Need help to integrate Advanced Checkout (PPCP) With WHMCS in PayPal Upgrade Community