Errors

Payment session not found

Stripe checkout confirm — payment session row missing for session_id.

Payment session not found

Stripe confirm (stripe-checkout-confirm) could not find a local payment session for the given id.

Why this happens

session_id present but no matching pending payment (wrong env, expired/cleaned row, or confirm before create finished). Distinct from Missing session_id (param empty) and Could not load Stripe checkout session for this payment (Stripe API session).

Diagnose and fix

1. Complete checkout via the live redirect; avoid bookmarked confirm URLs.

2. Confirm Stripe test/live keys match the session’s mode.

3. Check payment history — the charge may already be completed.

4. See Stripe and Missing session_id.

Related