Keep Paystack sheet/modal visible; open Paystack from Continue.
Deploy Ladill Events / deploy (push) Successful in 34s
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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user