Open labzar opened 3 years ago
Same here, but I do my tests only within the sandbox.
EDIT:
The question is, what the paymentID stands for? Within my PayPal account the relevant information for a transaction is the Transcation-ID. This Transaction-ID seems to be hidden here (at least I use it from there):
const transactionId = details.purchase_units[0].payments.captures[0].id;
To Do First
*Software Package Version:Latest version: 2.6.3**
Describe the bug
onApprove data parameter doesn't contains paymentID, and i need this in order to complete my payment in my backend. To Reproduce when you validate a transaction and when you go to onApprove, the parameter data doesn't contains paymentId , its always null
Expected behavior
Screenshots![image](https://user-images.githubusercontent.com/4538781/110706948-e643af00-81f8-11eb-9a1e-ae57ebc92795.png)
Desktop :