Deploy Ladill QR Plus / deploy (push) Successful in 52s
Paystack checkout.paystack.com returns X-Frame-Options: SAMEORIGIN, so the shared sheet opened empty. Keep mobile sheet/desktop modal chrome, launch checkout in a named window with a Continue CTA fallback, and escape payment-return via window.opener or top.
35 lines
1.0 KiB
PHP
35 lines
1.0 KiB
PHP
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>Payment</title>
|
|
<style>
|
|
body { font-family: system-ui, sans-serif; background: #f8fafc; color: #0f172a; display: grid; place-items: center; min-height: 100vh; margin: 0; }
|
|
p { font-size: 0.95rem; color: #475569; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<p>Confirming your payment…</p>
|
|
<script>
|
|
(function () {
|
|
var url = @json($redirect);
|
|
try {
|
|
if (window.opener && !window.opener.closed) {
|
|
window.opener.location.replace(url);
|
|
window.close();
|
|
return;
|
|
}
|
|
} catch (e) {}
|
|
try {
|
|
if (window.top && window.top !== window.self) {
|
|
window.top.location.replace(url);
|
|
return;
|
|
}
|
|
} catch (e) {}
|
|
window.location.replace(url);
|
|
})();
|
|
</script>
|
|
</body>
|
|
</html>
|