#maks.piechota
1 messages · Page 1 of 1 (latest)
What part of this are you trying to test? There's no way to programmatically advance a session like you're asking
You can use the Stripe CLI to generate session complete events that recreate part of this
if I want, in my system, to check if the user's subscription is active
can I query for the customer object and I find the information there?
or this is on my side to track?
What information are you starting from? Email?
Or do you have a subscription ID?
And what is your definition of "is active"? If it's aligned with Stripe's active subscription status, that's simplest
ok thanks for your help
I have to go now
I will get familiar with this active
I guess after the user completes checkout session
I should store subsctiptionId on my side
and check its status by id right?
Yep thats right -- if its a subscription session the completed session would have a subscription attribute you can check then retrieve that subscription from the API