#ezequielpato.
1 messages · Page 1 of 1 (latest)
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
so you are trying to retrieve a Subscription for a customer, right? Did it work?
Yes, let me explain you.
I used de subscription id
the example: ' sub_1O3FDoIr6Uv0nOknMUPqAPNT '
And what's the issue/question?
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' ?
The approach in terms of the API call is ok, but this should be happening on a backend server, not a React frontend page.
Yes, no problem with that. Just was a fast code the check the result. I will move it to the backend.
A Question
When I complete the subscription.
Stripe redirect the client to this link
' http://localhost:3000/es-ES/course/80?success=true&session_id=cs_test_a1s4ETwRowEKgjC9qmppV5N5pE4CC9E8zYr28eprbbxIo4ImV03eWHwYSJ '
I got the next query values 'success' and the 'session_id'
But where is the subscription id ?
Becausa I will need it to check doing the fetch to Stripe later.