2. Config.php

The config.php file includes the following code:
$data['gateway']['name']
(string) An internal name and it must not include any spaces.
$data['gateway']['displayname']
(string) What will be displayed to the administrator
$data['gateway']['showas']
(string) What you would like it to showas. Normally this will be Credit Card or something similar. The administrator can always change this.
$data['gateway']['version']
(string) Your version number. It is used primarily if you are going to release it for others.
$data['gateway']['extraTxt']
(string) An extra parameter. For example some gateways require the merchant id which could be entered here.
$data['gateway']['extra2Txt']
(string) An additional extra parameter. It is included in case your gateway requires two forms of authentication.
$data['gateway']['cconsite']
(string) This variable is either Y or N. Y means you are going to take the credit card on site and the site must have an SSL certificate installed. N means the gateway will handle this.

Related Articles

Still have a question? Post it on the Help Forums.