From 51c98abc4da2438195cfbb7e418bf7f47f800008 Mon Sep 17 00:00:00 2001 From: Pritish Budhiraja <1805317@kiit.ac.in> Date: Wed, 17 Apr 2024 18:33:36 +0530 Subject: [PATCH 1/2] fix: mandate data pass hide checkbox (#308) --- src/Payments/CardPayment.res | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Payments/CardPayment.res b/src/Payments/CardPayment.res index f2a16c723..acccb7ea4 100644 --- a/src/Payments/CardPayment.res +++ b/src/Payments/CardPayment.res @@ -183,6 +183,7 @@ let make = ( let paymentMethod = isBancontact ? "bank_redirect" : "card" let paymentMethodType = isBancontact ? "bancontact_card" : "debit" let conditionsForShowingSaveCardCheckbox = + list.mandate_payment->Option.isNone && !isGuestCustomer && list.payment_type !== SETUP_MANDATE && options.displaySavedPaymentMethodsCheckbox && @@ -190,8 +191,6 @@ let make = ( let nicknameFieldClassName = conditionsForShowingSaveCardCheckbox ? "pt-2" : "pt-5" - Js.log2("sdvjnsddsjd", (list.mandate_payment, options.terms.card)) -
Date: Wed, 17 Apr 2024 13:05:34 +0000 Subject: [PATCH 2/2] chore(release): 0.42.6 [skip ci] ## [0.42.6](https://github.com/juspay/hyperswitch-web/compare/v0.42.5...v0.42.6) (2024-04-17) ### Bug Fixes * mandate data pass hide checkbox ([#308](https://github.com/juspay/hyperswitch-web/issues/308)) ([51c98ab](https://github.com/juspay/hyperswitch-web/commit/51c98abc4da2438195cfbb7e418bf7f47f800008)) --- CHANGELOG.md | 7 +++++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4b95efbf6..48d862153 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## [0.42.6](https://github.com/juspay/hyperswitch-web/compare/v0.42.5...v0.42.6) (2024-04-17) + + +### Bug Fixes + +* mandate data pass hide checkbox ([#308](https://github.com/juspay/hyperswitch-web/issues/308)) ([51c98ab](https://github.com/juspay/hyperswitch-web/commit/51c98abc4da2438195cfbb7e418bf7f47f800008)) + ## [0.42.5](https://github.com/juspay/hyperswitch-web/compare/v0.42.4...v0.42.5) (2024-04-17) ## [0.42.4](https://github.com/juspay/hyperswitch-web/compare/v0.42.3...v0.42.4) (2024-04-17) diff --git a/package-lock.json b/package-lock.json index 16da0cad1..36a57e68a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "orca-payment-page", - "version": "0.42.5", + "version": "0.42.6", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "orca-payment-page", - "version": "0.42.5", + "version": "0.42.6", "hasInstallScript": true, "dependencies": { "@aws-sdk/client-cloudfront": "^3.414.0", diff --git a/package.json b/package.json index f3c53ed75..6f3d563ec 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "orca-payment-page", - "version": "0.42.5", + "version": "0.42.6", "main": "index.js", "private": true, "dependencies": {