A cascade is a routing layer above your gateways. Every transaction attempt is scored on decline signals, timeouts, throttling and MCC restrictions. When the primary MID fails, the next healthy MID captures inside 400ms — buyer sees no decline. This is the pattern high-scale operators use instead of hoping one gateway stays up forever.
Three ingredients:
"Backup gateway" usually means a manual switch — the operator notices the primary is down, logs in, changes a setting, hopes buyers refresh. That works for planned outages. It does not work for the two failure modes that actually cost real money:
A cascade handles both. Per-attempt scoring catches silent degradation because failed attempts trigger rotation. Per-attempt routing catches category throttling because only affected transactions rotate.
Bring 2-4 gateway API credentials. Order them by preference (usually cheapest or highest-approval first).
Decline signals, 3DS failures, timeouts, MCC restrictions checked per transaction against your route rules.
Failed primary → re-issue against route 2 with same card token. Buyer stays on checkout page. Order tagged with the route that captured.
Cascade signal, not just cascade retry. A dumb retry is: "primary declined, try secondary." That works for outages, fails on legit declines (buyer's card really did not go through). Cascade uses gateway-provided decline codes to distinguish "route-specific problem" from "card-specific problem" — only the first triggers rotation. The second returns a decline to the buyer with a proper reason.
A payment gateway cascade is a checkout layer that routes each transaction attempt through the healthiest gateway in a prioritized list of MIDs. When a route declines, times out or throttles, the next route captures the sale — usually under 400ms — so the buyer never sees an error.
A single backup is a manual failover — someone still has to detect the outage and swap the gateway. A cascade automates that decision per transaction. And running three or four MIDs means a single MID's slow degradation does not silently kill conversion.
Any gateway with an API can join the cascade. Stripe, NMI, Nuvei, Adyen, Airwallex, Checkout.com, Whop, PXP, Coinbase Commerce, Trustly, MyFatoorah, custom HTTP endpoints.
Median rotation under 400ms. Buyer stays on the same checkout page. No visible decline screen. Order writes back to the underlying storefront (Shopify or WooCommerce) tagged with the route that captured.
2-4 MIDs behind an own-domain checkout. Live in 24-48 hours.
High-risk processor → · Shopify Payments alternative → · How it works →