Open mattpass opened 6 years ago
Displaying an alert for now and not allowing close. Could make this display nicer and go further in our blocking, but for now in a v1 is OK.
Need to attach an unbeforeunload event to stop user closing window/tab also if a payment is in progress.
Added the onbeforeunload event whilst a payment is in progress and considering this issue done.
Both of these should be diabled from actioning, maybe popup modal stating that an order is in progress, please wait.