Allow passing subscription data to stripe checkout

Created on 26 March 2024, 8 months ago
Updated 11 April 2024, 8 months ago

Problem/Motivation

Generate a stripe subscription checkout session.

Steps to reproduce

Proposed resolution

Use a custom commerce trait that can be enabled, on a product variation, wich add two fields, interval and interval count.
Those fields will identify a purchased entity as a "subscription".
Then if any order item has a purchased entity that has those fields, change the stripe checkout mode to "subscription".
In case order has a one time purchased item and a subscription stripe will automatically generate a mixed cart.
https://docs.stripe.com/payments/checkout/how-checkout-works?payment-ui=...

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Active

Version

1.2

Component

Code

Created by

🇪🇸Spain SadySierralta

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024