We need to implement a new payment method. It is a standard payment gateway working with requests in C# or PHP, and responses in JSON.
In the payment method configuration, there are some settings not explained in the documentation: Code, Terms code and Terms. We guess those settings could be used to avoid creating a custom payment provider (if possible, for simplicity).
What are those settings for? Could them be used to call a function that triggers the payment process? If so, how should we use them to ensure security along the process?
If not possible, do we need to create a custom payment provider? What are your suggestions about it?