From 57129da0bd37b58499287baf6f77cc16a230fde9 Mon Sep 17 00:00:00 2001 From: Ebube Date: Fri, 28 Jul 2023 13:58:10 +0100 Subject: [PATCH] changed tx_ref number --- 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 (