From edffe2ff4b8b851d2b0d5c6d72803110ff9278b3 Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 12 Jan 2024 13:08:29 +0000 Subject: [PATCH 1/6] chore(version): v1.24.0 --- CHANGELOG.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index c3e300418..ab0810b5b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [conven - - - +## 1.24.0 (2024-01-12) + +### Features + +- Zero payment added ([#246](https://github.com/juspay/hyperswitch-control-center/pull/246)) ([`90dbf28`](https://github.com/juspay/hyperswitch-control-center/commit/90dbf287265bf51920edc2666ead6b8bdd49f337)) + +**Full Changelog:** [`v1.23.3...v1.24.0`](https://github.com/juspay/hyperswitch-control-center/compare/v1.23.3...v1.24.0) + +- - - + + ## 1.23.3 (2024-01-11) ### Bug Fixes From 12c72a7cb95fd408737564111e324c44c0001626 Mon Sep 17 00:00:00 2001 From: Pritish Budhiraja <1805317@kiit.ac.in> Date: Fri, 12 Jan 2024 20:21:51 +0530 Subject: [PATCH 2/6] fix: curruncy fix (#248) --- src/screens/HyperSwitch/SDKPayment/SDKPaymentUtils.res | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/screens/HyperSwitch/SDKPayment/SDKPaymentUtils.res b/src/screens/HyperSwitch/SDKPayment/SDKPaymentUtils.res index 352c04a30..93baaeaaf 100644 --- a/src/screens/HyperSwitch/SDKPayment/SDKPaymentUtils.res +++ b/src/screens/HyperSwitch/SDKPayment/SDKPaymentUtils.res @@ -91,7 +91,7 @@ let getTypedValueForPayment: Js.Json.t => SDKPaymentTypes.paymentType = values = mandate_type: { multi_use: { amount: 10000, - currency: dictOfValues->getString("currency", "United States-USD"), + currency: dictOfValues->getString("currency", "USD"), }, }, } From 4953319aeaf79945f6339bf233541b00055c544f Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 12 Jan 2024 14:55:03 +0000 Subject: [PATCH 3/6] chore(version): v1.24.1 --- CHANGELOG.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index ab0810b5b..4f50ee9a2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [conven - - - +## 1.24.1 (2024-01-12) + +### Bug Fixes + +- Curruncy fix ([#248](https://github.com/juspay/hyperswitch-control-center/pull/248)) ([`12c72a7`](https://github.com/juspay/hyperswitch-control-center/commit/12c72a7cb95fd408737564111e324c44c0001626)) + +**Full Changelog:** [`v1.24.0...v1.24.1`](https://github.com/juspay/hyperswitch-control-center/compare/v1.24.0...v1.24.1) + +- - - + + ## 1.24.0 (2024-01-12) ### Features From f72f290468125c6763e89047b162642ab3bf27e6 Mon Sep 17 00:00:00 2001 From: dvenga <126671331+dvenga@users.noreply.github.com> Date: Fri, 12 Jan 2024 20:54:54 +0530 Subject: [PATCH 4/6] fix: currency change (#249) Co-authored-by: Pritish Budhiraja <1805317@kiit.ac.in> --- src/screens/HyperSwitch/SDKPayment/SDKPaymentUtils.res | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/screens/HyperSwitch/SDKPayment/SDKPaymentUtils.res b/src/screens/HyperSwitch/SDKPayment/SDKPaymentUtils.res index 93baaeaaf..d3f339871 100644 --- a/src/screens/HyperSwitch/SDKPayment/SDKPaymentUtils.res +++ b/src/screens/HyperSwitch/SDKPayment/SDKPaymentUtils.res @@ -1,7 +1,7 @@ let initialValueForForm: HSwitchSettingTypes.profileEntity => SDKPaymentTypes.paymentType = defaultBusinessProfile => { { amount: 10000, - currency: "United States-USD", + currency: "USD", profile_id: defaultBusinessProfile.profile_id, description: "Default value", customer_id: "hyperswitch_sdk_demo_id", @@ -99,7 +99,7 @@ let getTypedValueForPayment: Js.Json.t => SDKPaymentTypes.paymentType = values = { amount, - currency: dictOfValues->getString("currency", "United States-USD"), + currency: dictOfValues->getString("currency", "USD"), profile_id: dictOfValues->getString("profile_id", ""), customer_id: dictOfValues->getString("customer_id", ""), description: dictOfValues->getString("description", "Default value"), From 89f487488a008dafd1e704f4e796048eda631429 Mon Sep 17 00:00:00 2001 From: dvenga <126671331+dvenga@users.noreply.github.com> Date: Fri, 12 Jan 2024 21:32:16 +0530 Subject: [PATCH 5/6] fix: Currency change (#250) Co-authored-by: Pritish Budhiraja <1805317@kiit.ac.in> --- src/screens/HyperSwitch/SDKPayment/SDKPaymentUtils.res | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/screens/HyperSwitch/SDKPayment/SDKPaymentUtils.res b/src/screens/HyperSwitch/SDKPayment/SDKPaymentUtils.res index d3f339871..31e35445a 100644 --- a/src/screens/HyperSwitch/SDKPayment/SDKPaymentUtils.res +++ b/src/screens/HyperSwitch/SDKPayment/SDKPaymentUtils.res @@ -1,7 +1,7 @@ let initialValueForForm: HSwitchSettingTypes.profileEntity => SDKPaymentTypes.paymentType = defaultBusinessProfile => { { amount: 10000, - currency: "USD", + currency: "United States-USD", profile_id: defaultBusinessProfile.profile_id, description: "Default value", customer_id: "hyperswitch_sdk_demo_id", @@ -91,7 +91,7 @@ let getTypedValueForPayment: Js.Json.t => SDKPaymentTypes.paymentType = values = mandate_type: { multi_use: { amount: 10000, - currency: dictOfValues->getString("currency", "USD"), + currency: dictOfValues->getString("currency", "United States-USD")->getCurrencyValue, }, }, } @@ -99,7 +99,7 @@ let getTypedValueForPayment: Js.Json.t => SDKPaymentTypes.paymentType = values = { amount, - currency: dictOfValues->getString("currency", "USD"), + currency: dictOfValues->getString("currency", "United States-USD"), profile_id: dictOfValues->getString("profile_id", ""), customer_id: dictOfValues->getString("customer_id", ""), description: dictOfValues->getString("description", "Default value"), From 72ebc25924aeadac45b83d045c2c2a375c05c648 Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 12 Jan 2024 16:05:58 +0000 Subject: [PATCH 6/6] chore(version): v1.24.2 --- CHANGELOG.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4f50ee9a2..ff0517a17 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,18 @@ All notable changes to this project will be documented in this file. See [conven - - - +## 1.24.2 (2024-01-12) + +### Bug Fixes + +- Currency change ([#249](https://github.com/juspay/hyperswitch-control-center/pull/249)) ([`f72f290`](https://github.com/juspay/hyperswitch-control-center/commit/f72f290468125c6763e89047b162642ab3bf27e6)) +- Currency change ([#250](https://github.com/juspay/hyperswitch-control-center/pull/250)) ([`89f4874`](https://github.com/juspay/hyperswitch-control-center/commit/89f487488a008dafd1e704f4e796048eda631429)) + +**Full Changelog:** [`v1.24.1...v1.24.2`](https://github.com/juspay/hyperswitch-control-center/compare/v1.24.1...v1.24.2) + +- - - + + ## 1.24.1 (2024-01-12) ### Bug Fixes