Closed haelbichalex closed 2 years ago
Hello @haelbichalex ,
Thank you for raising the issue, I think you're correct; it makes sense to have the checkoutCancelUrl be a configurable URL as well, especially in a headless Magento setup. We have created a ticket for this internally and will update you as progress is made.
Thanks again, Spencer
Hello again @haelbichalex ,
Just wanted to reach out and let you know that version 5.14.0 of the Amazon Pay module is now available on the Magento Marketplace and includes the ability to configure the checkoutCancelReturnUrl. Thanks again for raising the issue, and please let us know if you have any problems with the module in the future!
Spencer
What I expected
We have a PWA integration using this extension. When calling the
config
endpoint, we get thepaynow_payload
containing thecheckoutCancelUrl
, which redirects the user back to our shop. I suppose this URL should be configurable, as many other are in the configuration of the module, for examplecheckoutReviewReturnUrl
.What happened instead
The
checkoutCancelUrl
contains the URL of Magento, since we cannot configure this in the backend, and the user gets redirected to the password protected Magento instance.Steps to reproduce the issue
/V1/amazon-checkout-session/config/{cart-id}
checkoutCancelUrl
Your setup