Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 1.3 KB

README.md

File metadata and controls

38 lines (29 loc) · 1.3 KB

Stripe Payment Gateway

Stripe payment gateway for the SilverStripe payment module

Maintainer Contact

Requirements

Installation

If you prefer you may also install using composer:

composer require webbuilders-group/silverstripe-stripe-gateway

Usage

To use Stripe as the payment gateway you need to retrive your api key from your account settings then in your site's config.yml you need to add the following:

PaymentProcessor:
    supported_methods:
        dev:
            - 'StripePaymentGateway'
        live:
            - 'StripePaymentGateway'

StripeGateway:
    test_api_secret: "YOUR TEST SECRET KEY"
    api_secret: "YOUR LIVE SECRET KEY"