Keep Paystack sheet/modal visible; open Paystack from Continue.
Deploy Ladill Events / deploy (push) Successful in 34s

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 d7ce7459a5
commit 14c17fffa7
3 changed files with 80 additions and 119 deletions
@@ -36,6 +36,12 @@ class RedirectLegacyQrToLadillLink
return $next($request);
}
// Same-origin AJAX from Events-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);
}
if ($this->servesStoredAsset($request) || $this->servesRegistrationTransaction($request)) {
return $next($request);
}