Hello and thanks for the reply, my problem is as follows: When I simulate a transaction with a sandbox account, the payment goes through, but the script I wrote in my auto return url does not run. I'm not getting any error messages. Except my script.php doesn't run at the end of the transaction onApprove: function(data, actions) {
return actions.order.capture().then(function(orderData) {
var transaction = orderData.purchase_units[0].payments.captures[0];
actions.redirect('myscript.php?tx=' + transaction.id);
});
}, To force my script.php to run I had to create a javascript redirect. So I solved my problem. At this point I wonder what is the real usefulness allowed by paypal to be able to configure a return page? Maybe just for the IPN? Thanks for any answers
... View more