Configuring Parameters of Custom Payment System
To add a parameter (a phone number, number of a credit card, and so on) to a payment system of the Custom type:
- In the control panel, go to System > Settings and click the Payments Processing link in the Operations list. The Payments Processing panel opens.
- Click the Payment Systems link. The list of created systems is displayed.
- In the list of the payment systems, click the name of the system for which you want to configure parameters. The system General properties are displayed.
- Switch to the Parameters tab and click Add New Payment Method Parameter. The adding new parameter form opens.
- Fill in the form as follows:
- Parameter ID – Enter the identifier of a new parameter into the field.
- Payment System – This field is pre-filled with the name of the payment system for which you are adding the parameter.
- Name – Enter the parameter name.
- Description – Enter a short description of the parameter.
Value Type – Select from the drop-down list the data type for the parameter values.
Note: You can customize this field by adding more selectable values to the drop-down list. Refer to the Creating Custom Data Types section.
- Validator – Enter a regular expression that will be used to check entered values of the parameter.
- Input Hint – Enter a short explanation that will be shown to a customer for entering the parameter value.
- Display as – Specify how the parameter is to be displayed. The value of this parameter can be one of the following:
- Hidden. The parameter is not displayed on the adding new payment method screen.
- Optional. The parameter is displayed on the adding new payment method screen, but a user can skip it.
- Required. The parameter is displayed on the adding new payment method screen and a user must provide some value.
- Sort Number – Enter a number to define in which order the parameter is to be displayed in the list of parameters shown to a customer. (This is an optional parameter.)
- Click Save.
After you have configured the parameters of a payment system, enable the payment system to process payments.