- SilverStripe 3.*
- Payment module 1.0.*
Simple cheque payment method for SilverStripe payment module.
- Place this directory in the root of your SilverStripe installation and call it 'payment-cheque'.
- Visit yoursite.com/dev/build?flush=1 to rebuild the database.
Enable in your application YAML config:
PaymentGateway:
environment:
'dev'
PaymentProcessor:
supported_methods:
dev:
- 'Cheque'
live:
- 'Cheque'
Optionally you can set the supported currencies otherwise it will default to supporting GBP, USD, NZD (see ChequeGateway::$supportedCurrencies):
ChequeGateway:
live:
supported_currencies:
'NZD' : 'New Zealand Dollar'
'USD' : 'United Statues Dollar'
dev:
supported_currencies:
'NZD' : 'New Zealand Dollar'
'USD' : 'United Statues Dollar'
Remember to ?flush=1 after changes to the config YAML files.