The JForm File

This file controls the appearance of the Payage account configuration form. The JForm file must be named .xml, where is the type of the addon declared in the Joomla manifest file. The file name must be lower case.

The following fields are always available ("common_data"):

Field Description
account_name Required. Every account must have a name.
account_email Optional. If your gateway requires an email address your model must enforce this in its check_post_data() function.
account_language Optional.
account_currency Required. Every account must have a currency.
button_image Required.
button_title Required.
button_class The class(es) for responsive buttons.
button_text The text for responsive buttons.
button_icon_1 The left icon for responsive buttons.
button_icon_2 The right icon for responsive buttons.
account_description Required. This is the text that may be used by applications to help customers decide which payment button to use.
account_group Required.
fee_type
fee_amount
fee_min
fee_max
Optional. If no fee fields are defined, accounts for this gateway will not be able to charge a fee.

You can add any additional fields required by your gateway configuration, but you must include them in your initData(), getPostData(), and check_post_data() functions.