Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Caleb-Omoijuanfo opened this issue Dec 14, 2021 · 3 comments

Comments

@Caleb-Omoijuanfo
Copy link

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.
@Dverybest
Copy link

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

@alexander01202
Copy link

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

@StephenOkeleke97
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants