Stop Paystack pre-modal flash on customer checkout.
Deploy Ladill Servers / deploy (push) Successful in 44s
Deploy Ladill Servers / deploy (push) Successful in 44s
Use the shared Inline sheet, hold busy until payment UI opens, and avoid locking page scroll during the handoff.
This commit is contained in:
@@ -66,8 +66,7 @@
|
||||
if (!res.ok || data.error) { alert(data.error || 'Unable to start payment.'); this.renewLoading = false; return; }
|
||||
this.renewModal = false;
|
||||
this.checkoutUrl = data.checkout_url;
|
||||
this.showSheet = true;
|
||||
this.renewLoading = false;
|
||||
this.showSheet = true; // renewLoading cleared when payment UI opens (ladill-pay-opened)
|
||||
} catch(e) {
|
||||
alert('Network error. Please try again.');
|
||||
this.renewLoading = false;
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user