juspay / hyperswitch

An open source payments switch written in Rust to make payments fast, reliable and affordable
https://hyperswitch.io/
Apache License 2.0
11.99k stars 1.26k forks source link

refactor(cypress): error handling and add sync refunds in places where missing #5128

Closed pixincreate closed 2 months ago

pixincreate commented 3 months ago

Description

This is a following PR of https://github.com/juspay/hyperswitch/pull/5093 that implements significant changes to the way Cypress handles 4xx errors. Will go through it one by one:

Additional Changes

Motivation and Context

NIL

How did you test it?

After commit 7fac187 (#5128)

Adyen bank of America Bluesnap Cybersource Iatapay
image image image image image
NMI PayPal Stripe Trustpay
image image image image

NMI PMID 2 failures are backend issues and @likhinbopanna is behind it.

Checklist