From c023911cd49119723e61e79acc9e618537257e3e Mon Sep 17 00:00:00 2001 From: ebube Date: Mon, 27 Nov 2023 03:19:39 -0800 Subject: [PATCH] Fixed prev card issue --- src/components/MyWallet/Popup/ConfirmAddFund.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/MyWallet/Popup/ConfirmAddFund.jsx b/src/components/MyWallet/Popup/ConfirmAddFund.jsx index ecf1934..80df9cd 100644 --- a/src/components/MyWallet/Popup/ConfirmAddFund.jsx +++ b/src/components/MyWallet/Popup/ConfirmAddFund.jsx @@ -224,7 +224,7 @@ function ConfirmAddFund({ // Create request data object with required parameters for making the payment const reqData = { - amount: amount * 100, + amount: amount, card_uid, credit_reference, currency, @@ -289,7 +289,7 @@ function ConfirmAddFund({ // Prepare request data const reqData = { - amount: amount * 100, + amount: amount, cardnumber: cardNum.replace(/\s/g, ""), credit_reference, cvc: cvv, -- 2.34.1