I've created a custom payment method in Magento.
The custom payment method requires additional fields to be filled in and are required for that specific payment method only.
I've found an answer in this post: Magento 2 – How to add a custom field to checkout and then send it
But this will add custom fields in every payment method…
So my question is, is it possible to add custom form in a specific payment method?
Best Answer
this worked for me you can try this