Remove success alert popup from crypto payment cancellation

Now silently redirects to cart without showing the 'Payment quote cancelled
successfully' alert popup for better UX.
This commit is contained in:
Russell Ballestrini 2025-09-23 16:49:14 -04:00
parent b63be901f3
commit bb0a830fd2

View file

@ -250,7 +250,6 @@
})
.then(data => {
if (data.success) {
alert('Payment quote cancelled successfully');
// Redirect to cart if cart_url is provided
if (data.cart_url) {
window.location.href = data.cart_url;