Flutterwave / React-Native

React Native library for Flutterwave for Business (F4B) v2 and v3 APIs.
https://developer.flutterwave.com/
MIT License
6 stars 13 forks source link

`handleRedirect` function not called when payment confirmation is delayed #71

Open EmmyAina opened 9 months ago

EmmyAina commented 9 months ago

Description

The handleRedirect function is not called when there is a delay in confirmation when paying with bank transfer. Resulting in the user being debited, and not knowing if the transaction was successful or failed

Steps to Reproduce

  1. Initiate Payment
  2. Change Payment method to Bank Transfer
  3. Experience a delay in confirmation
  4. Transaction eventually goes through and the user gets debited, but the handleRedirect function is not called and I don't get to know if the transaction was successful

Expected behavior

handleRedirect gets called and I get to know if the transaction was successful or failed

Reproduces how often

I have experienced it twice in seven transactions so far

Additional Information

There's no error message

bytenaija commented 4 months ago

I am having the same issue. It takes over 4 to 10 minutes for payment to be processed, and it is never called.

EmmyAina commented 4 months ago

It's quite frustrating and hard to debug since the occurrence is random. There's still no fix so far. I have to manually carry out the success or fail action anytime the issue occurs