#jairo_subscription-duplicate

1 messages ¡ Page 1 of 1 (latest)

winter nymphBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1217150674643456121

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

midnight marlinBOT
green gate
#

Hello! We are working with Stripe Billing to manage customer's subscriptions to our plans, but We've found a customer with two subscriptions to the same plan in Stripe

balmy rain
#

@green gate it's best to write all the details when flagging the question upfront so I can help you immediately after it posts

#

Stripe has no logic to de-duplicate Subscriptions or guarantee just one. If you have 2 Subscriptions it means your own code created those two Subscriptions

#

jairo_subscription-duplicate

green gate
#

We are trying to investigate in Stripe's dashboard, but we are not sure what we need to check in that case

#

Ok, We supose that the problem is in our side, but could you help me to get some relevant information? For example, the creation requests of both subscriptions

#

We've searched in Events list, but it seems that the dashboard not shows the old events in the list

#

And subscriptions were created in October and November '23

balmy rain
#

Are you an experienced developer writing the code end to end here?

green gate
#

Yes, I am

balmy rain
#

Okay so can you share the Customer id for me to look at?

green gate
#

Yes, of course

#

just a second

#

cus_OLDyYFMEapRUhg

#

this customer has 3 subscriptions, but the older one is cancelled, so it's normal to us to let the customer to create new subscriptions if the previous one is cancelled

#

but having a past_due subscription (the second one), the customer couldn't been able to create a new one to the same price

#

For this reason, we are investigating how is it possible, and We would like to recopilate all relevant information about these two subscriptions

balmy rain
green gate
#

ok, I'm checking

#

And how can I see the lifecycle of the past_due subscription? I would like to see it's status transitions

balmy rain
#

you can't, Events are only stored for 30 days