Download the PHP package innoweb/silverstripe-silvershop-stripe without Composer
On this page you can find all versions of the php package innoweb/silverstripe-silvershop-stripe. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download innoweb/silverstripe-silvershop-stripe
More information about innoweb/silverstripe-silvershop-stripe
Files in innoweb/silverstripe-silvershop-stripe
Package silverstripe-silvershop-stripe
Short Description Adds stripe customer and creditcard saving to silvershop
License BSD-3-Clause
Informations about the package silverstripe-silvershop-stripe
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.
This module uses Omnipay's Stripe adapter but overrides SilverShop's default checkout component to inject the right JavaScript.
Based on Mark Guinn's SS3 version, extended with saving of the token to the Member object for later use.
Requirements
- SilverStripe CMS 4.*
- SilverShop Core 3.*
- Omnipay Stripe 3.*
uses Stripe.js v3
Installation
Configuration
Payment Intents
Create a file at app/_config/payment.yml
that looks something like the following:
If needed, the customer will be redirected to Stripe or his bank to verify the transaction via SCA or 3D-Secure.
A custom failure URL can be specified here for when a payment fails (for example, the card was declined).
Stripe Charge (deprecated)
Create a file at app/_config/payment.yml
that looks something like the following:
Saving cards
The module creates Stripe customers and cards when a payment is processed. To disable the use of previously stored cards in the checkout process, add the following to your config:
This will hide the field to select previsouly stored cards in th epayment form. The card tokens will still be stored in the background in order to be able to process refunds and future manual payments.
License
BSD 3-Clause License, see License
All versions of silverstripe-silvershop-stripe with dependencies
silverstripe/vendor-plugin Version ^2
silvershop/core Version ^3.1
omnipay/stripe Version ^3.0