I have a form that must be valid before clicking "Pay Now" button.I want to keep the button disable until the form is valid. There is some issues about it. There is a link about "onClick" function.It's working but when I click "Pay now" button, inside of the onClick buttons work and also payment keeps working I mean there is no way to cancel by me for an invalid form.Actually onClick function has no effect to payment side. There are also different solutions like "actions.disable()" and "actions.enable()" but these functions do not work at all. There are also "actions.resolve()" and "actions.reject()" functions but they do not work as well. Here is the link about onClick, resolve and reject functions: https://developer.paypal.com/docs/checkout/integration-features/validation/#asynchronous-validation Here is the link about disable and enable functions: https://developer.paypal.com/docs/checkout/integration-features/validation/#synchronous-validation I really did not understand that how they can make doc about them that don't work
... View more