frankmullenger/payment-cheque

SilverStripe Cheque Payment Module

Installs: 2 586

Dependents: 0

Suggesters: 1

Security: 0

Stars: 1

Watchers: 2

Forks: 4

Open Issues: 8

Type:silverstripe-module

dev-master 2013-10-08 04:46 UTC

This package is not auto-updated.

Last update: 2024-11-18 15:29:10 UTC


README

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.