Errors

Could not load Stripe checkout session for this payment

Admin refund (or similar) — Stripe session retrieve failed for the payment (502).

Could not load Stripe checkout session for this payment

Admin refund (or payment detail) tried to load the Stripe Checkout Session for a payment and Stripe returned an error or empty session (502).

Why this happens

Wrong mode (test/live), deleted session, mismatched Stripe account keys, or payment not created via Stripe Checkout. Distinct from Could not create checkout session (create path).

Diagnose and fix

1. Confirm Stripe secret key mode matches the payment’s environment.

2. Open the payment in Stripe Dashboard; verify the session id still exists.

3. Retry refund; if the session is gone, use Stripe Dashboard / support reconciliation.

4. See Stripe setup article.

Related