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 (