Download the PHP package silvercommerce/payments-stripe-paymentintents without Composer
On this page you can find all versions of the php package silvercommerce/payments-stripe-paymentintents. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download silvercommerce/payments-stripe-paymentintents
More information about silvercommerce/payments-stripe-paymentintents
Files in silvercommerce/payments-stripe-paymentintents
Package payments-stripe-paymentintents
Short Description Package that adds Stripe payments (via omnipay) and includes Payment Intent integration
License BSD-3-Clause
Homepage https://github.com/silvercommerce/payments-paypal
Informations about the package payments-stripe-paymentintents
SilverCommerce Stripe Payment Intents
Module that adds Stripe Payments via an integrated payment form and payment intents to a SilverCommerce site (using the omnipay stripe gateway).
Installation
Install via composer:
composer require silvercommerce/payments-stripe-paymentintents
Configuration
Configure how you would any SilverStripe omnipay modules:
payments.yml
---
Name: paymentconfig
---
SilverStripe\Omnipay\Model\Payment:
allowed_gateways:
- 'Stripe_PaymentIntents'
SilverStripe\Omnipay\GatewayInfo:
PayPal_Express:
parameters:
apikey: sk_live_xxxxxxxxx
publishableKey: pk_live_xxxxxxxxx
# Config for test environments
---
Except:
environment: 'live'
---
SilverStripe\Omnipay\GatewayInfo:
Stripe_PaymentIntents:
parameters:
apikey: sk_test_xxxxxx
publishableKey: pk_test_xxxxxx
Payment Intents
In order to comply with SCA regulations in the EU, this module uses the payment intents API to generate a payment intent prior to completing a purchase.
This means that a payment will also have a payment intent ID saved against it in the database.
The JavaScript to handle generating the payment intent is added automatically and adds the payment intent ID to the omnipay gateway form
All versions of payments-stripe-paymentintents with dependencies
silvercommerce/checkout Version ^1.1
silvercommerce/settings Version ^1.0
silvercommerce/orders-admin Version ^1.3
omnipay/stripe Version ^3.0