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

Payment is never completed and handleRedirect is never called #72

Open bytenaija opened 4 months ago

bytenaija commented 4 months ago

Description

The handleRedirect function is not called when confirmation is delayed when paying with a mobile money transfer. Resulting in the user being debited and not knowing if the transaction was successful or failed

Steps to Reproduce

  1. Initiate Payment a Rwanda Mobile Money Payment
  2. A 4 to 10 minutes confirmation delay is experienced
  3. The transaction eventually goes through, and the user gets debited. Still, the handleRedirect function is not called, and even the webhook needs to be sent.

Expected behaviour

Actual behaviour

https://github.com/Flutterwave/React-Native/assets/22142497/a5789455-0404-47f2-ada3-68c42574119d

Reproduces how often

Configuration

Additional Information

There's no error message

EmmyAina commented 3 months ago

This was the exact issue I created prior to yours. But mine doesn't get reproduced all the time. Just randomly

thecodecafe commented 3 months ago

@kpose can you help out here? Redirect appears to be erratic for some folks.