#Rajshree - subscriptions

1 messages · Page 1 of 1 (latest)

outer grail
#

Hello, do you have an example ID of a customer (cus_123) that you are not seeing the subscription details for?

unkempt pendant
#

cus_MDNJBzFg5Vv0pg

outer grail
#

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?

unkempt pendant
#

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

outer grail
unkempt pendant
#

yes

outer grail
#

So it sounds like you need to look more in to your code's logic for when to create these subscriptions

unkempt pendant
#

do we wait until the subscription is in active or trailing sts?

#

could it be in processing for sometime in between?

outer grail
#

I am not clear on your question. What payment are you looking for to see if it is processing?

unkempt pendant
#

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?

outer grail
#

Gotcha. I can check in to if a subscription was created for that customer in a minute

unkempt pendant
#

sure, thanks

outer grail
#

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

unkempt pendant
#

sure, I will check