hyperswitch
62e20734 - fix(cypress): fix bank redirect expected responses to match actual connector behavior

Commit
16 days ago
fix(cypress): fix bank redirect expected responses to match actual connector behavior Connectors return HTTP 200 with status "failed" and error fields when a bank redirect payment method is not configured or not supported. Update expected response configs to correctly match these responses instead of expecting "requires_customer_action" (which passes validateErrorMessage null checks). - ACI Ideal/EPS/Interac: expect status "failed" with error_code "800.900.300" and error_message "invalid authentication information" - Nexinets Giropay: expect status "failed" with error_code "12000" and connector error message - Mollie Giropay/Przelewy24: expect status "failed" with error_code "Unprocessable Entity" and error_message "method" - Nuvei Giropay: expect status "failed" with error_code "-1" - Airwallex Trustly: expect IR_39 (HTTP 400) since connector is not configured for Trustly in test environment - Shift4: add Giropay and Sofort entries with status "failed" and "Payment method type X not supported" error messages Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Author
HS-QUALIBOT
Parents
Loading