The refund failed or can't run automatically

Covers: gateways without refund APIs, the 180-day refund window, and declined refunds with the gateway's raw message.

What happened

An automatic refund didn't run, for one of three honest reasons: (1) the order's payment method has no refund API (bank transfer, COD, local methods) — money must be sent from the provider's side; (2) the refund window closed — PayPal-style gateways only refund within 180 days of payment (configurable per gateway), and the message shows the paid date and remaining days; (3) the gateway declined and returned an error, which is displayed raw rather than swallowed.

Whose move

Yours (the merchant) in all three cases — the money is yours to send when we can't.

What to do next

Method without API: send the amount from your provider's account yourself, then record it with Mark manual refund so the audit trail and the customer's view agree. Past the window: same manual path — automatic is impossible, manual is expected. Declined: read the raw code (expired card, insufficient balance, disputed charge…), fix the cause, hit Retry — retries are safe, refund execution is idempotent per line, so a retry can never double-send. Every attempt (including failures) is in the timeline with your name on it.

Still failing after a fix? Build the diagnostic bundle — the request summary includes refund attempts with gateway codes, and the failure rows show what the bank actually said.

Find another error · Troubleshooting guide