| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
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? |
Sorry, something went wrong.
|
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. |
Sorry, something went wrong.
|
I think it is only people with write access that can merge PRs |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Added a pre-payment functionality to the button