Skip to content

expresso-store/store_check

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

The current code is for EE3/EE4. For the EE2 sample, go here.


Store Check Extension

This is an example payment gateway extension for Expresso Store. It adds a new payment method which can be configured from the Store control panel settings.

By default, it simply extends the existing Omnipay "Manual" payment gateway, which can be used to process off-line transactions. This allows you to have multiple off-line payment gateways with different names.

The same package layout can be used to add support for any payment gateway, without having to modify core Store files. This makes future upgrades of Store much easier.

addon.setup.php

All ExpressionEngine addons require this. It provides the name, version, and other metadata for the add-on.

ext.store_check.php

This is the main extension file. It uses the store_payment_gateways hook available in Store 2.1+ to register a new payment gateway.

Omnipay folder

This is where the gateway lives. It follows the standard conventions and layout of an Omnipay payment gateway.

For further information about developing Omnipay-compatible payment gateways, please see the Omnipay project.

License

This gateway is distributed under the terms of the MIT license.

About

An example payment gateway extension for Expresso Store

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%