Does Stripe payment component inside weweb support subscription-based payment intents with client secrets starting with “cs_” (subscription) instead of “pi_” (one time payment)?
Currently, we generate a payment URL that leads to Stripe’s hosted checkout page. However, we want to customize the payment form within our platform (so the user can pay in the platform instead a separate page). When we changed the ui_mode to “embedded” in the create.checkoutsession API, it returned a client secret. This secret only works with custom JavaScript to generate an embedded form, not with the native Stripe payment component offered by weweb.
We’re seeking advice on how to implement a payment form for subscriptions inside the platform. Please advice!