Is buyer name returned in 'onApprove: function(data, actions)'?

ajarrow
Contributor
Contributor

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"?

Login to Me Too
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.