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
- 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
- User is asked for shipping address when creating a credit card order in REST APIs
- Need help to integrate PayPal Checkout Advanced (PPCP) with WooCommerce in PayPal Upgrade Community
- Need help to integrate PayPal Standard Checkout with Shopify in PayPal Payments Standard