Keep Paystack sheet/modal visible; open Paystack from Continue.
Deploy Ladill Merchant / deploy (push) Successful in 1m20s

Stop auto-popups that steal focus, use one responsive panel, and skip ladl.link redirects for JSON pay requests.
This commit is contained in:
isaacclad
2026-07-21 18:46:26 +00:00
parent 9345efbfdb
commit 84cf01c927
2 changed files with 65 additions and 116 deletions
@@ -19,6 +19,12 @@ class RedirectLegacyQrToLadillLink
return $next($request);
}
// Same-origin AJAX from product-hosted pages must not 307 to ladl.link
// (cross-origin fetch has no CORS → checkout sheet never opens).
if ($request->ajax() || $request->expectsJson() || $request->wantsJson()) {
return $next($request);
}
return LadillLink::legacyRedirect($request);
}
}