Stripe plugin payments flow (not checkout)

I try to implement Stripe subscription purchase here.
I checked documentation and I did what it says. It works. But there is missing part for me.

If I use workflow for Stripe Checkout I can choose “Subscription” and it perfectly works however I dont want to use external checkout page but I want to use payment form and make payments in the app.

When i Use “Stripe Payment Intent” + “Stripe Payment Confirm” it creates payment in Stripe but doesn’t create subscription because there is no such option to select it, only price ID.

How to make flow using Stripe elements here when I can select subscription and User can purchase it directly form app not Stripe? Is it possible?

And some additional explanation of this case in documentation would be awesome as I see questions in community but answers doesn’t help to create whole picture.

@dorilama made something related to this

1 Like

Thanks! That demo looks great.
The question is: can I achieve it without custom code or it is necessary for such flow?

And if we have Weweb official stripe plugin and documentation which shows Stripe element form to pay, but does it make sense if you cannot choose product/subscription to pay for with that form?