Files
ladill-pos/resources/views/partials/payment-checkout-host.blade.php
T
isaaccladandCursor 3c0172f098
Deploy Ladill POS / deploy (push) Successful in 40s
Embed POS checkouts in a modal/sheet using the seller email.
Card/MoMo always initializes with the merchant email, and Paystack/Flutterwave/Hubtel open in-page (desktop modal, mobile bottomsheet) instead of a full redirect.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-15 08:29:07 +00:00

17 lines
491 B
PHP

<div x-data
x-init="
const url = @js(session('checkout_url'));
if (url) {
$store.paymentCheckout.open(url);
}
"
class="contents">
<div x-data="{
get showSheet() { return $store.paymentCheckout.isOpen },
set showSheet(v) { if (!v) { $store.paymentCheckout.close() } },
get checkoutUrl() { return $store.paymentCheckout.url },
}">
@include('partials.paystack-sheet')
</div>
</div>