Decoupled Stripe payments for Commerce Decoupled Checkout.
Usage:
1. Configure Stripe payment gateway in Drupal. Pick "Decoupled Stripe" type for one-off payments and "Decoupled Stripe Recurring" for monthly payments.
2. On the client, create an order using Commerce Decoupled Checkout endpoint.
3. On the client, create a payment using Commerce Decoupled Checkout endpoint.
4. On the client, grab Stripe intent's clientSecret
from the response (it's saved in payment remote id field).
5. On the client, complete payment on client side using Stripe.js API (i.e. handleCardPayment, handleCardSetup, etc).
6. On the client, complete the order by executing payment capture endpoint from Commerce Decoupled Checkout.
See Commerce Decoupled Checkout examples for information about API endpoints.
See Stripe.js v3 documentation for client-side implementation details.
Project information
- Minimally maintained
Maintainers monitor issues, but fast responses are not guaranteed. - Maintenance fixes only
Considered feature-complete by its maintainers. - Module categories: Decoupled, E-commerce, Integrations
- 22 sites report using this module
- Created by kalabro on , updated
- Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
Releases
Development version: 8.x-1.x-dev updated 7 Sep 2022 at 10:48 UTC