Open hdasdoria opened 2 years ago
Hi, there was an issue with the javascripts in the payWithPaypal template.
The window.location.reload() in error and cancel callbacks was executed instead of being passed as a callback in the fetch().then() function.
window.location.reload()
fetch().then()
The page was reloading before the call was made and the payment was never cancelled, so the payment could not be processed again !
Had to override locally because half of our paypal orders fell in that and payment were never completed.
Hi, there was an issue with the javascripts in the payWithPaypal template.
The
window.location.reload()
in error and cancel callbacks was executed instead of being passed as a callback in thefetch().then()
function.The page was reloading before the call was made and the payment was never cancelled, so the payment could not be processed again !
Had to override locally because half of our paypal orders fell in that and payment were never completed.