# PAY_REDIR_FAIL: Payment redirect URL not available

- Module: PAY. Payment gateway interactions (Comgate / GoPay / Stripe)
- Severity: Critical
- Impact: Customers. End customers are affected (e.g. a missing e-mail, payment or order).
- Retry: Manual. Safe for an operator to retry the action.
- Reference: https://docs.bizkithub.com/en/system-codes/PAY_REDIR_FAIL

## What happened

Generating or refreshing the payment gateway redirect URL for an order failed. The customer was shown an error and asked to retry.

## Likely causes

- Creating the online payment at the gateway failed when the customer clicked to pay.
- No usable payment gateway is configured for the order.
- The order referenced by the payment link could not be found.

## How to resolve

1. Look for a related GT00001 or GT00002 entry with the gateway's exact error.
2. Verify the gateway configuration in Payment gateways.
3. Ask the customer to retry the payment, or offer bank transfer as an alternative.

## Related codes

- GT00001: No payment gateway configured
- GT00002: Online payment creation failed
- PAY_GP_FAIL: GoPay payment creation failed
- PAY_CG_FAIL: Comgate payment status check failed
- PAY_CG_PROBE: Comgate production probe
- PAY_CG_PUSH: Comgate push rejected
