added a delay for redirect to bank gateway
This commit is contained in:
@@ -90,7 +90,9 @@ const handlePayment = () => {
|
||||
},
|
||||
{
|
||||
onSuccess: (data) => {
|
||||
window.location.href = data.url;
|
||||
setTimeout(() => {
|
||||
window.location.href = data.url;
|
||||
}, 2000);
|
||||
},
|
||||
onError: () => {
|
||||
addToast({
|
||||
|
||||
Reference in New Issue
Block a user