Download the PHP package remp/crm-stripe-module without Composer
On this page you can find all versions of the php package remp/crm-stripe-module. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download remp/crm-stripe-module
More information about remp/crm-stripe-module
Files in remp/crm-stripe-module
Package crm-stripe-module
Short Description CRM Stripe Module
License MIT
Homepage https://remp2030.com
Informations about the package crm-stripe-module
CRM Stripe Module
Installation
We recommend using Composer for installation and update management. To add CRM Stripe extension to your REMP CRM application use following command:
Enable installed extension in your app/config/config.neon
file:
Seed Stripe payment gateway and its configuration:
Configuration & API keys
Enter Stripe API keys to CRM
- Visit to CRM admin settings (gear icon) - Payments
- Enter Stripe publishable key
- Enter Stripe secret key
Keys can be found at Stripe Dashboard. If you don't have the account already, you'll need to create one.
Using module
Stripe Checkout
Stripe Checkout is the most secure and robust scenario of processing payments with Stripe. User is redirected to Stripe's checkout page where he/she enters card details and submits the payment.
We recommend using this scenario as Stripe optimizes the page for various devices. Stripe Checkout is the default flow when this module is enabled.
If you use remp2020/crm-salesfunnel-module, all you need to do is to enable both Stripe and Stripe Recurrent gateways in your sales funnels (CRM Admin - Sales funnels - Detail - Payment gateways). You can test the integration with our sample funnel, which will display the new gateways right away after you enable them.
Stripe Elements
Stripe Elements provide a secure way how to collect card data directly in your sales funnel. To use Stripe elements, include following snippets to your sales funnel.
Include Stripe JS library.
Add elements that will be initialized to collect the data.
Initialize Stripe Elements and use your Stripe publishable key instead of the placeholder we prepared.
Attach Stripe handlers to the form submission process.
Stripe Module also seeded funnel example with Stripe Elements usage. You can find it in CRM Admin - Sales Funnels - stripe-elements-sample. To make it work, search for -- INCLUDE YOUR PUBLISHABLE KEY HERE --
and replace it with the Stripe publishable key available at your Stripe Dashboard.
Wallet payments (ApplePay/GooglePay) - Stripe Payment Request Button
For using ApplePay or GooglePay you have to use StripeWallet payment gateway. Configuration in CRM is the same as with Stripe Elements, but you can setup one more config - Stripe Display Name. This text is used as name of merchant, used as label for total amount in payment window.
This payment gateway handles ApplePay and GooglePay via the exact implementation where Stripe shows the correct payment button in the end.
RECOMMENDATION: In the sales funnel, please use javascript from documentation and enable/disable this payment method based on client browser support. It doesn't make sense to show the customer ApplePay/GooglePay as a valid payment option if it is unavailable. You can use javascript from official documentation -
It looks like this:
Known limitation:
- You have to copy your stripe public key to each sale funnel where you would like to check the support of wallet payment options.
- We don't support:
- Importing shipping addresses from wallets (but it's possible).
- Importing email of the customer from wallets (but it's possible).
- Recurrent payments (but it looks possible).
- Use of StripeWallet in our CRM ProductsModule (eshop).