From 096da29149fd31ab2fdf70a2a714b72d35bee258 Mon Sep 17 00:00:00 2001 From: Ebube Date: Fri, 28 Jul 2023 13:51:48 +0100 Subject: [PATCH] Changed tx_ref no --- src/components/MyWallet/Popup/ConfirmAddFund.jsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/MyWallet/Popup/ConfirmAddFund.jsx b/src/components/MyWallet/Popup/ConfirmAddFund.jsx index be74435..4adec0e 100644 --- a/src/components/MyWallet/Popup/ConfirmAddFund.jsx +++ b/src/components/MyWallet/Popup/ConfirmAddFund.jsx @@ -113,7 +113,7 @@ function ConfirmAddFund({ const config = { public_key: process.env.REACT_APP_FLUTTERWAVE_APIKEY, - tx_ref: Date.now(), + tx_ref: __confirmData?.credit_reference, currency: "NGN", amount: Number(__confirmData.amount), payment_options: "card,mobilemoney,ussd", @@ -302,6 +302,8 @@ function ConfirmAddFund({ })); } + console.log(__confirmData) + return (