SETUP INSTRUCTIONS Gateway: Stripe

Gateway Name
Display name for gateway. Max 100 chars.
Website
Webpage for gateway.
Enabled
Yes to enable, No to disable
Class to Load
Each gateway has files, for Stripe these must be named and exist as follows:

control/callback/stripe.php
control/classes/gateways/class.stripe.php
Display Image
For cosmetics only, should exist in the following locations:

admin/content/images/gateways/
content/**THEME**/images/gateways/
Document Page
The corresponding document page for this gateway. Located in the "docs" folder. Gateway docs file must start "gw-" for the system to pick it up. See existing files for examples. This is optional, if there is no docs file, leave blank.
Parameters
Key/Value pairs that can contain data to be sent to the gateway or used to validate a response from the gateway. By default no parameters are used unless created in the relevant class files. You can add more parameters if you want to pass additional info to the gateway.

Note that the values must be entered on the right, the left values are the parameter names and MUST not be changed.

Depending on the getway, parameter names are sent as either $_POST or $_GET values.

To add / remove parameter lines, use the +/- buttons.


Note that nothing is actually updated until the "Update Gateway" is clicked. More info on parameters on the add gateway example page.

Note that if you prefer the values to be hidden, enable the "Always Hide Gateway Parameter Values" in your settings via the Payment tab.
Default Parameters
The following parameters should be set as defaults, eg: The values below appear in the left (key) boxes, your own values in the right boxes. They should be included when the system is installed, you just need to fill in the values:

perishable-key => Your Stripe Perishable Key as Set in Your Stripe Control Panel
secret-key => Your Stripe Secret Key as Set in Your Stripe Control Panel
endpoint-secret => Your Stripe Endpoint Secret Key as Set in Your Stripe Control Panel (See Setup Instructions)
Example screenshot:


These values are case sensitive! They must be entered EXACTLY as shown. The following can also be used and are optional:

image => See Below
locale => See Below
"locale" is any supported locale/language, the default is "auto" if not set. This must be a supported locale.
"image" is the full image path to a custom checkout image. This will appear on the Stripe checkout window. This will only load over SSL on most sites. If you don't specify an image, the following image is used:

content/**theme**/images/stripe.png

If you need to add other parameters, you can do so manually in the following file.

content/**theme**/js-loader/gateways/stripe.php
API & SCA (Strong Customer Authentication)
Maian Music supports v3 of the Stripe API and supports SCA.
Integration Instructions
Click the button above for details on how to set up the gateway.