I am using the one-step checkout and Paypal payment method. On clicking the PayPal button on the checkout page, I want to show a custom message if the terms and conditions checkbox is not checked to notify the customer to check the terms and conditions checkbox. How can I do this? I could not find the click event for the Paypal button.


Please check this link
How to add validation on checkbox , select option and text fields in magento 2?
I hope it will solve your issue.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.