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

The onSuccess callback is not called on successful bank authorization. The modal just closes.

Open Caleb-Omoijuanfo opened this issue 4 years ago โ€ข 3 comments

Describe the bug The success callback is not called on successful bank authorization. The modal just closes. Card is charged but no value for the customer cos logic has been implemented in the onSuccess callback.

To Reproduce Steps to reproduce the behavior:

  1. Select card ending with 409 and complete the steps. (Use an iphone). Seems to work on android.

Expected behavior

  1. OnSuccess callback should be called and business logic implemented.

Caleb-Omoijuanfo avatar Dec 14 '21 17:12 Caleb-Omoijuanfo

I'm getting the same issue, any fix for this?

Dverybest avatar Dec 16 '21 14:12 Dverybest

Still no fix for this?? Has anyone figured this out??

alexander01202 avatar Jun 23 '22 11:06 alexander01202

the official paystack website advices that we use web hooks to confirm payment before providing value to the customer. The webhook feature is not available in this library unfortunately. Perhaps you can make a feature request where you can pass in a url to your backend server to be called when a transaction is successful

StephenOkeleke97 avatar Dec 06 '22 08:12 StephenOkeleke97