What JSON is returned to Browser with the onApprove: function(data, actions)

solucionmike
Contributor
Contributor

Hi,

I am looking for a complete list of JSON data returned to the Browser with the onApprove function:

onApprove: function(data, actions) {
// This function captures the funds from the transaction.
return actions.order.capture().then(function(details) {
// This function shows a transaction success message to your buyer.

So far I have only found these 2 mentioned in the documentation:

details.payer.name.given_name

data.orderID

 

I would like to know things like authorization, Payer Email and Amount etc.

Thanks

Mike


// alert('Transaction completed by ' + details.payer.name.given_name);

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.