From 814e4c9693730c8dbdf3f7ab12349e650df537f2 Mon Sep 17 00:00:00 2001 From: ebube Date: Sun, 3 Dec 2023 23:55:43 -0800 Subject: [PATCH] Fixed the amount in naira add credit payload to flutterwave --- src/components/MyWallet/Popup/ConfirmAddFund.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/MyWallet/Popup/ConfirmAddFund.jsx b/src/components/MyWallet/Popup/ConfirmAddFund.jsx index 80df9cd..443786b 100644 --- a/src/components/MyWallet/Popup/ConfirmAddFund.jsx +++ b/src/components/MyWallet/Popup/ConfirmAddFund.jsx @@ -130,7 +130,7 @@ function ConfirmAddFund({ public_key: __confirmData?.flutterwave_key, tx_ref: __confirmData?.credit_reference, currency: "NGN", - amount: Number(__confirmData.amount), + amount: Number(__confirmData.amount) * 0.01, payment_options: "card,mobilemoney,ussd", customer: { email: userDetails.email,