juspay / hyperswitch

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

refactor: update API response for JSON deserialization errors #6610

Closed kashif-m closed 20 hours ago

kashif-m commented 3 days ago

Type of Change

Description

Described in #6609

Additional Changes

Motivation and Context

How did you test it?

Locally.

Checklist

semanticdiff-com[bot] commented 3 days ago

Review changes with  SemanticDiff

Changed Files
| File | Status | | :--- | :--- | | [](https://app.semanticdiff.com/gh/juspay/hyperswitch/pull/6610/changes#cypress-tests-v2/cypress/e2e/configs/Payment/Commons.js)  [cypress\-tests\-v2/cypress/e2e/configs/Payment/Commons\.js](https://app.semanticdiff.com/gh/juspay/hyperswitch/pull/6610/changes#cypress-tests-v2/cypress/e2e/configs/Payment/Commons.js) | [](https://app.semanticdiff.com/gh/juspay/hyperswitch/pull/6610/changes#cypress-tests-v2/cypress/e2e/configs/Payment/Commons.js)  68% smaller | | [](https://app.semanticdiff.com/gh/juspay/hyperswitch/pull/6610/changes#cypress-tests/cypress/e2e/PaymentUtils/Commons.js)  [cypress\-tests/cypress/e2e/PaymentUtils/Commons\.js](https://app.semanticdiff.com/gh/juspay/hyperswitch/pull/6610/changes#cypress-tests/cypress/e2e/PaymentUtils/Commons.js) | [](https://app.semanticdiff.com/gh/juspay/hyperswitch/pull/6610/changes#cypress-tests/cypress/e2e/PaymentUtils/Commons.js)  68% smaller | | [](https://app.semanticdiff.com/gh/juspay/hyperswitch/pull/6610/changes#cypress-tests/cypress/e2e/PaymentUtils/Paybox.js)  [cypress\-tests/cypress/e2e/PaymentUtils/Paybox\.js](https://app.semanticdiff.com/gh/juspay/hyperswitch/pull/6610/changes#cypress-tests/cypress/e2e/PaymentUtils/Paybox.js) | [](https://app.semanticdiff.com/gh/juspay/hyperswitch/pull/6610/changes#cypress-tests/cypress/e2e/PaymentUtils/Paybox.js)  68% smaller | | [](https://app.semanticdiff.com/gh/juspay/hyperswitch/pull/6610/changes#crates/router/src/utils.rs)  [crates/router/src/utils\.rs](https://app.semanticdiff.com/gh/juspay/hyperswitch/pull/6610/changes#crates/router/src/utils.rs) | [](https://app.semanticdiff.com/gh/juspay/hyperswitch/pull/6610/changes#crates/router/src/utils.rs)  47% smaller | | [](https://app.semanticdiff.com/gh/juspay/hyperswitch/pull/6610/changes#cypress-tests-v2/cypress/e2e/configs/Payment/Utils.js)  [cypress\-tests\-v2/cypress/e2e/configs/Payment/Utils\.js](https://app.semanticdiff.com/gh/juspay/hyperswitch/pull/6610/changes#cypress-tests-v2/cypress/e2e/configs/Payment/Utils.js) | [](https://app.semanticdiff.com/gh/juspay/hyperswitch/pull/6610/changes#cypress-tests-v2/cypress/e2e/configs/Payment/Utils.js)  1% smaller | | [](https://app.semanticdiff.com/gh/juspay/hyperswitch/pull/6610/changes#cypress-tests/cypress/e2e/PaymentUtils/Utils.js)  [cypress\-tests/cypress/e2e/PaymentUtils/Utils\.js](https://app.semanticdiff.com/gh/juspay/hyperswitch/pull/6610/changes#cypress-tests/cypress/e2e/PaymentUtils/Utils.js) | [](https://app.semanticdiff.com/gh/juspay/hyperswitch/pull/6610/changes#cypress-tests/cypress/e2e/PaymentUtils/Utils.js)  1% smaller |