diff --git a/resources/views/partials/paystack-sheet.blade.php b/resources/views/partials/paystack-sheet.blade.php index 9d0c4a4..a437868 100644 --- a/resources/views/partials/paystack-sheet.blade.php +++ b/resources/views/partials/paystack-sheet.blade.php @@ -8,8 +8,10 @@ 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. + Paystack (checkout.paystack.com) sends X-Frame-Options: SAMEORIGIN and cannot be + embedded. Same-origin URLs (e.g. MoMo waiting pages) still load in an iframe. + External checkouts open in a named window, with an in-sheet Continue CTA as a + user-gesture fallback when the popup is blocked after an async fetch. --}} @php $audience = $audience ?? 'buyer'; @@ -35,10 +37,101 @@ $iframeTitle = $iframeTitle ?? $defaults['iframe']; $sheetFooter = $sheetFooter ?? $defaults['footer']; @endphp +@once + +@endonce