#Rajshree - subscriptions
1 messages · Page 1 of 1 (latest)
Hello, do you have an example ID of a customer (cus_123) that you are not seeing the subscription details for?
cus_MDNJBzFg5Vv0pg
Thank you
So it looks like that customer doesn't have a subscription on them at all. Do you know how your integration normally creates subscriptions for your customers?
cus_MDNtAeWa922K8M
the above one also showed no subscription initially
but later it appeared
we normally delete the subscription if its not in active or trialing sts
trailing sts
It looks like you are creating these subscriptions directly with the API https://dashboard.stripe.com/logs/req_bvkzX9LDyHhWFV
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
yes
So it sounds like you need to look more in to your code's logic for when to create these subscriptions
do we wait until the subscription is in active or trailing sts?
could it be in processing for sometime in between?
I am not clear on your question. What payment are you looking for to see if it is processing?
Sorry, I meant we check for the subscription status
if the status is not active or trailing , we delete that subscription.
so possibly in this case the subscription was deleted, I want to know if the payment was unsuccessful in the above cases?
Gotcha. I can check in to if a subscription was created for that customer in a minute
sure, thanks
As far as I can tell, no subscription was ever made for cus_MDNJBzFg5Vv0pg
So you may need to go back to your logging to see if some error came up or something else that prevented your code from making the API call to create the subscription
sure, I will check