React-Native icon indicating copy to clipboard operation
React-Native copied to clipboard

Payment is never completed and handleRedirect is never called

Open bytenaija opened this issue 1 year ago • 2 comments

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

  • The handleRedirect gets called, and I get to know if the transaction was successful or failed
  • Webhook is sent to our webhook URL

Actual behaviour

  • The webview loading button keeps loading even after a user completes verification and the money is debited, as shown in the video below.
  • The webhook URL is never called.

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

Reproduces how often

  • 100%. All the time

Configuration

  • API Version: v3
  • Environment: Live Mode
  • Browser: iOS iPhone, Android Phone
  • Language: React Native

Additional Information

There's no error message

bytenaija avatar Apr 22 '24 12:04 bytenaija

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

EmmyAina avatar May 12 '24 11:05 EmmyAina

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

thecodecafe avatar May 12 '24 11:05 thecodecafe