-
Notifications
You must be signed in to change notification settings - Fork 160
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
Patch 1 #52
base: master
Are you sure you want to change the base?
Patch 1 #52
Conversation
I was using the paystack button but I wanted the validate the form details before processing payment. In the end I had to make a custom button that made use of the usePaystackPayment hook.
I was using the paystack button but I wanted the validate the form details before processing payment. In the end I had to make a custom button that made use of the usePaystackPayment hook.
Hi, I don't get the point of this PR. You don't want to be notified about the callback? |
It is for the button to be able to run a function before calling the payment handler. Like using the button to validate a form then calling the payment function after. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So how do you want me to merge this deployment of yours
I think it is only people with write access that can merge PRs |
Yes sir |
Added a pre-payment functionality to the button