Skip to content
SilverStripe Payment Module
PHP Scheme JavaScript
Find file
New pull request
Pull request Compare This branch is 32 commits behind silverstripe-labs:1.0.
Latest commit 414acd3 @ryandao Add Testing docs

SilverStripe Payment Module

Maintainer Contacts


  • SilverStripe 3.0


Usage Overview

This module provides the base API for various payment methods


  1. Place this directory in the root of your SilverStripe installation and call it 'payment'.
  2. Visit to rebuild the database.
  3. Set the environment (optional). If not set, the default value is set to SilverStripe environment.

  4. Enable supported payment methods in your application yaml file. Make sure that the respective sub-modules are installed. Only Dummy payment methods are shipped with the module.

          - 'DummyMerchantHosted'
          - 'DummyGatewayHosted'
          - 'PayPalDirect'
          - 'PayPalExpress'


After cloning this GitHub repository, make sure all the tests in /dev/tests are passed to make sure the environemnt settings are correct.

Install the PaymentTest module to do UI testing for the supported payment gateways. By default, DummyMerchantHosted and DummyGatewayHosted are enabled for testing purposes. For other gateways, you must specify them under 'supported_methods' in the yaml config.

Installing Payment methods

Payment methods are shipped separately. Each method is one module and can be installed in the same way as other SilverStripe modules.

List of current supported payment methods:

Something went wrong with that request. Please try again.