diff --git a/resources/views/components/user/service-topup-modal.blade.php b/resources/views/components/user/service-topup-modal.blade.php index 0b13e45..5d85dac 100644 --- a/resources/views/components/user/service-topup-modal.blade.php +++ b/resources/views/components/user/service-topup-modal.blade.php @@ -36,7 +36,7 @@ loading: false, errorMsg: '', async submitTopup(event) { - if (this.method !== 'paystack' || window.innerWidth >= 768) return; + if (this.method !== 'paystack') return; event.preventDefault(); this.loading = true; diff --git a/resources/views/partials/paystack-sheet.blade.php b/resources/views/partials/paystack-sheet.blade.php index 167e5ba..9d0c4a4 100644 --- a/resources/views/partials/paystack-sheet.blade.php +++ b/resources/views/partials/paystack-sheet.blade.php @@ -1,5 +1,5 @@ {{-- - Payment checkout shell: bottomsheet on mobile, centered modal on desktop. + Responsive payment checkout shell: bottom sheet on mobile, centered modal on desktop. Audiences: - buyer (default): public ticket buyers, donors, shoppers — self-serve checkout @@ -7,6 +7,9 @@ Optional overrides: $sheetTitle, $sheetSubtitle, $sheetFooter, $sheetAria, $iframeTitle Requires Alpine ancestor with: showSheet (bool), checkoutUrl (string). + + Loads the provider authorization URL in-frame (verified via production Events/POS). + MoMo and other non-frameable providers should redirect instead of opening this sheet. --}} @php $audience = $audience ?? 'buyer'; @@ -35,9 +38,12 @@