2017 © Pedro Peláez
 

silverstripe-module silvershop-stripe

Stripe.js payment integration for SilverShop e-commerce

image

markguinn/silvershop-stripe

Stripe.js payment integration for SilverShop e-commerce

  • Sunday, October 2, 2016
  • by markguinn
  • Repository
  • 4 Watchers
  • 2 Stars
  • 103 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 2 Versions
  • 43 % Grown

The README.md

SilverShop Stripe Support Module

Stripe uses a little different payment flow than other processors in that you have to do some clientside javascript work to set it up and you get a token back instead of credit card processing fields., (*1)

This module uses Omnipay's Stripe adapter but overrides SilverShop's default checkout component to inject the right JavaScript., (*2)

Installation

composer require markguinn/silvershop-stripe

Then create a file at mysite/_config/payment.yml that looks something like the following:, (*3)

---
Name: payment
---
Payment:
  allowed_gateways:
    - 'Stripe'

GatewayInfo:
  Stripe:
    parameters:
      apiKey: SECRET-KEY-FOR-YOUR-TEST-ACCOUNT
      publishableKey: PUBLISHABLE-KEY-FOR-TEST-ACCOUNT
---
Except:
  environment: 'live'
---
GatewayInfo:
  Stripe:
    parameters:
      testMode: true

---
Only:
  environment: 'live'
---
GatewayInfo:
  Stripe:
    parameters:
      apiKey: SECRET-KEY-FOR-YOUR-LIVE-ACCOUNT
      publishableKey: PUBLISHABLE-KEY-FOR-LIVE-ACCOUNT

License

Copyright 2016 Mark Guinn, All rights reserved., (*4)

See LICENSE file. (MIT), (*5)

The Versions

02/10 2016

dev-master

9999999-dev http://github.com/markguinn/silvershop-stripe

Stripe.js payment integration for SilverShop e-commerce

  Sources   Download

MIT

The Requires

 

payment silverstripe stripe silvershop stripejs

02/10 2016

0.1.0

0.1.0.0 http://github.com/markguinn/silvershop-stripe

Stripe.js payment integration for SilverShop e-commerce

  Sources   Download

MIT

The Requires

 

payment silverstripe stripe silvershop stripejs