I'm searching for at way to force the customer to enter specific required information, based on selected payment method.
For public institution, it's required that the invoice is shiped through a digital portal, and for that reason, I need the ID (named EAN) from the public customer.
Case: I've created a payment method, type 'HikaShop collect on delivery payment plugin' and named it 'EAN'. The customer select EAN as payment method and before submitting the order, I want the system to force the customer to enter the EAN number. Either in a specific form field, or make an address field required, if customer select 'EAN'.
Is there a way?