Stripe.js payment integration for SilverShop e-commerce
Stripe uses a little different payment flow than other processors in
you get a token back instead of credit card processing fields.
This module uses Omnipay's Stripe adapter but overrides SilverShop's
composer require markguinn/silvershop-stripe
Then create a file at
mysite/_config/payment.yml that looks something like the following:
--- 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
Copyright 2016 Mark Guinn, All rights reserved.
See LICENSE file. (MIT)
Module rating system helping users find modules that are well supported. For more on how the rating system works visit Module standards
Score not correct? Let us know there is a problem