I need to add custom fields in the payment step of the checkout page in Magento 2 and also data should be saved in needed tables.

I want to add a payment comment note before-place-order.

how to do it in Magento 2

1 Answer 1


I think the following article can help you to understand general logic how to

How to Add Custom Field in Checkout Page Below Payment Method List in Magento 2

  • I have already followed your provided link but I want to add a text area on the checkout payment page. if you have any ideas or links then share me. Jun 24 at 6:21
  • You can use this article as an instruction and example how to render and work with data and just create textarea JS+Template instead of checkbox. Maybe also might be helpful to read (Customize checkout )[developer.adobe.com/commerce/php/tutorials/frontend/… Jun 24 at 6:35
  • hi Victor Tihonchuk, thank you provided me a link. but your link not working. so can you provide another link for better understanding. Jun 28 at 13:53

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.