Form Validation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have an html form for the user to enter details to buy a subscription with Paypal. I need to notify the user if those details are not entered adequately. I've found this https://developer.paypal.com/docs/checkout/integration-features/validation/#synchronous-validation which seems to give code to disable the Paypal buttons but that's not enough because the user needs to be told what information he hasn't entered correctly rather than just have the Paypal buttons disabled until he gets the information correct. Can I not keep the Paypal buttons enabled and notify the user if he clicks one of them when the form isn't completed fully and clicking the button then have no effect?
This must be a very standard thing to want to do. Rather than try to work it all out from scratch I thought I would ask here if anyone had any standard code for it that I could look at?
Thanks.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
OK, I found this https://github.com/paypal/paypal-checkout-components/issues/139
It seems to be quite a problem.
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Platform Marketplace integration approval in Sandbox Environment
- Hosted Buttons have changed. How can I now edit the item ID and stock? in PayPal Payments Standard
- [UNPROCESSABLE_ENTITY], but payment went through in PayPal Payments Standard
- Security header is not valid error message in woo commerce in PayPal Payments Standard
- rest api > list plan > does query parameter plan_ids exist? in REST APIs