AntiPattern
Client-Driven Redirect Trust
client-redirect-trust
Client-controlled redirects and user-visible completion signals get treated as authoritative proof, so payment state or “success” can be spoofed or arrive out of order (e.g., Stripe webhooks before the page), breaking correctness and enabling fraud.