Is buyer name returned in 'onApprove: function(data, actions)'?
ajarrow
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Jul-13-2020
05:47 AM
Just a quick question: Is the buyer's name returned in "onApprove: function(data, actions)"? I know you can get it from "return actions.order.capture().then(function(details)" with "details.purchase_units[0].shipping.name.full_name" (at least that's how I get it, it's not the only way) but is it available before the return line in "data" or "actions"?
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
- Cart dropps items, fails to return customer to previous window in PayPal Payments Standard
- why can't I have auto return on standard buttons in PayPal Payments Standard
- PAYER_ACTION_REQUIRED returned for Capture intent when calling v2 checkout orders in Sandbox Environment
- 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