webbuilders-group / silverstripe-stripe-gateway
Payment gateway for the Stripe payment service
Installs: 64
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 4
Forks: 3
Open Issues: 1
Type:silverstripe-module
Requires
- composer/installers: *
- silverstripe/framework: ~3.1
- silverstripe/payment: 1.0.*
- stripe/stripe-php: 1.*
This package is auto-updated.
Last update: 2024-11-29 02:57:06 UTC
README
Stripe payment gateway for the SilverStripe payment module
Maintainer Contact
- Ed Chipman (UndefinedOffset)
Requirements
- SilverStripe Framework 3.1+
- SilverStripe Payment 1.0.x
Installation
- Download the module from here https://github.com/webbuilders-group/silverstripe-stripe-gateway/archive/master.zip
- Extract the downloaded archive into your site root so that the destination folder is called stipe-gateway, opening the extracted folder should contain _config.php in the root along with other files/folders
- Run dev/build?flush=all to regenerate the manifest
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"