#BlackHawk-custom-form-validation
1 messages ยท Page 1 of 1 (latest)
Hello ๐
Let's chat here ๐
Do you mean you want to run validations once you click on apple pay or google pay button but before the popup windows shows up?
yes
so if there is an validation error, no need to actually popup the window for payment.
yeap
I used the preventDefault() on a click event and then run myself stripePaymentRequest.show() but this is not working ok, get some warnings and the popup is doesn' re-appear if canceled. Seems that I need to re-mount it? not sure whats wrong but don't feel I have taken the right/secure path for this
hmm yeah I'm not sure remounting it is the best way to go about it but I also don't see an event you can listen to here that'd let you run the validation.