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.

Supporting organizations: 
Development

Project information

Releases