Telegram_2021-04-05T17

<< Click to Display Table of Contents >>

Navigation:  Telegram > 2021 > 04 > 05 >

Telegram_2021-04-05T17

Telegram link

 

2021-04-05T17:15:28

 

What is details and where is it?

 


 

Telegram link

 

2021-04-05T17:46:44

 

onApprove: function(data, actions) {

 

return actions.order.capture().then(function(details) {

 

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

 

alert('OrderID: '+details.purchase_units[0].reference_id +'!');

 

 

 

$(\ type: hashtag #IWBUTTON2 \).click();

 

});

 

}

 


 

Telegram link

 

2021-04-05T17:48:35

 

That code gives me the value of the name, but I want the value of reference_id