How to add custom checkbox before place order button in Magento 2 in Pay by credit or debit card Payment Method (Take-payment).

And the checkbox is required so if any user not checked the checkbox the payment button is not working after checking that checkbox he payment is done

Any one has any idea how to do that.


1 Answer 1


I created Module for on my GitHub directory. not exact as per requirement but you can modify it as per your need or take reference


Note for community: added link because it's stable forever.

  • Thanks for your link will definitely check that if you found anything same please share with me.
    – Prits
    Oct 6, 2021 at 7:53
  • If I found then will share surely.... Oct 6, 2021 at 8:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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