Skip to content

frankmullenger/silverstripe-payment-cheque

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SilverStripe Payment Cheque Module

Maintainer Contacts

Requirements

  • SilverStripe 3.*
  • Payment module 1.0.*

Documentation

Simple cheque payment method for SilverStripe payment module.

Installation Instructions

  1. Place this directory in the root of your SilverStripe installation and call it 'payment-cheque'.
  2. Visit yoursite.com/dev/build?flush=1 to rebuild the database.

Usage Overview

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.

About

Cheque payment method for SilverStripe 3.0

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages