...
Code Block | ||||
---|---|---|---|---|
| ||||
{ "version": "1.0.0", "name": "My Gateway", "description": "A gateway like no other!", "authors": [ { "name": "Phillips Data, Inc.", "url": "http://www.blesta.com" } ], "currencies": ["EUR", "GBP", "USD"], "signup_url": "http://www.url-to-mygateway.com" } |
Definition
Option | Description |
---|---|
version | The version of the gateway. This should be a semantic version number. |
name | The name of the gateway. This may also be a language definition. |
description | A brief description of the gateway. |
This may also be a language definition in Blesta v4.9.0+. | |||||||
authors | An array of author objects.
| ||||||
logo | The path within the gateway to the logo file. If not set, defaults to views/default/images/logo.png. | ||||||
currencies | An array of ISO 4217 currency codes supported by the gateway. | ||||||
signup_url | The URL to display for users that wish to open an account with the gateway (i.e. a referral URL). |
Using the Configuration
To use the configuration file you must include it within the constructor of your gateway using the loadConfig() method.
...