execute-payment
knutsford
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Jun-02-2020
05:30 AM
onAuthorize: function (data, actions) {
return actions.payment.execute().then(function() {
return actions.request.post('/api/execute-payment/', {
paymentID: data.paymentID,
payerID: data.payerID
})
document.order.submit();
window.location.replace("/Success/");
});
},
Is that correct to get the Payer Id and Payment Id
Or should it be
return actions.request.post('/my-api/execute-payment/', {
or something else?
I have seen both api and my-api
Thanks
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.