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:
parent
b63be901f3
commit
bb0a830fd2
1 changed files with 0 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue