#maks.piechota

1 messages · Page 1 of 1 (latest)

thorn basinBOT
raven shell
#

What part of this are you trying to test? There's no way to programmatically advance a session like you're asking

trail karma
#

hm

#

ok

#

so other question first

raven shell
#

You can use the Stripe CLI to generate session complete events that recreate part of this

trail karma
#

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?

raven shell
#

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

trail karma
#

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?

raven shell
#

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