In the template for the settings control you define the UI, that will allow the user to set the values of the payment settings object of the payment method. Because the settings are serialized and only used in your custom logic in the payment provider class, you can create any input fields you need.
To create the template of the settings field, you must perform the following:
NOTE: If you decide to use only one processing mode, you must not create a field for a processing mode property.
NOTE: To create validation for the fields use the ValidationDefinition object.
NOTE: You can order and style the fields in your template as you need. The suggested structure serves as an example and as a guideline on how to group your fields. The most important thing is to pay attention to the types of the fields and the controls used for them, and to the IDs of the respective controls.
Use the following code for the whole template:
Back To Top