#ezequielpato.

1 messages · Page 1 of 1 (latest)

restive havenBOT
#

Hello ezequielpato., we'll be with you shortly! Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
ezequielpato., 4 minutes ago, 12 messages

supple swan
#

so you are trying to retrieve a Subscription for a customer, right? Did it work?

unique steeple
#

Yes, let me explain you.

#

I used de subscription id

#

the example: ' sub_1O3FDoIr6Uv0nOknMUPqAPNT '

supple swan
#

And what's the issue/question?

unique steeple
#

Just a fas code to get the results.

#

Ok. Me question is

restive havenBOT
unique steeple
#

is it ok if I search in that way.
And after I get the results.
I could watch for the status key with the value 'active' ?

torpid matrix
#

The approach in terms of the API call is ok, but this should be happening on a backend server, not a React frontend page.

unique steeple
#

I got the cust id too

unique steeple
#

A Question

torpid matrix
#

You have to get the Subscription ID by making a call to stripe.checkout.sessions.retrieve("cs_test_xxx") and then accessing the subscription field on that object