Commit cdcec8ee by G

minor updates on interface names and loggers

parent 2a4a5862
......@@ -27,7 +27,7 @@ const useOrangeMoney = () => {
setIsBrowserOpen(true);
const result = await WebBrowser.openBrowserAsync(url);
// setResult(result);
log.debug("Result after browser closed :: ", result);
log.debug("handlePaymentUsingBrowser | Result ::", result);
setIsBrowserOpen(false);
};
......@@ -37,10 +37,10 @@ const useOrangeMoney = () => {
...paymentObjectDefault,
montant: amount,
}),
onSuccess: async (data) => {
onSuccess: (data) => {
// return data.payment_url
log.debug("orangeTransactionInitializerMutation request success, opening browser...");
await handlePaymentUsingBrowser(data.payment_url);
// await handlePaymentUsingBrowser(data.payment_url);
// await transactionsStatusMutation.mutate(data.order_id);
// setResult(result);
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment