Deploy Ladill POS / deploy (push) Successful in 1m16s
Use operator-facing copy and merchant email so Card/MoMo checkout is for staff handing the screen to a customer, not self-serve buyers.
18 lines
575 B
PHP
18 lines
575 B
PHP
{{-- Global host for till-operator Card/MoMo sheets (register + open tickets). --}}
|
|
<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>
|