#shaon
1 messages · Page 1 of 1 (latest)
hi! what button do you mean? do you have a screenshot and an object ID and maybe some example code that leads to this?
and what code is being used to render that UI in the screenshot?
I'm not immediately recognising it as a Stripe-hosted page or component, it looks like something your own custom code is generating or a third party platform you use?
here's is the subscription ID: sub_1Mb3p8H5T1rE3zQ0x01nM8Hp
oh ok, let me find the client side code
I also don't really understand the connection between the Subscription and the SetupIntent
so we are using the setup intent to get the card information to use to allow a user to buy a subscription
is this the recommended way to achieve this?
it depends. When does the subscription get created?
before the checkout occurs
so we provision / create the subscription before a user purchases
usually you'd just use the guide at https://stripe.com/docs/billing/subscriptions/build-subscriptions?ui=elements and create a subscription and collect the payment information as part of the process, which pays the first Invoice and activates it.
you wouldn't collect the card separately in a SetupIntent before.
ah yes we do what is described in that link
Hey, taking over here. Let me know if there's any follow-up Qs I can answer!