#wee_code

1 messages ¡ Page 1 of 1 (latest)

dusk parrotBOT
#

👋 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/1329916261332947004

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

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.

prime bobcat
#

This is the code that I use.

#

Shouldn't this make sure a new customer isn't created upon subscription?

#

Image from dashboard

raven prism
#

Thanks for the info, looking in to this and will get back to you.

#

We typically close threads out after some amount of inactivity, usually we wait ~15 mins but when things are especially busy we can do it after around 10

prime bobcat
#

Understood, thank you for telling

raven prism
#

I am not sure if they will be relevant but can you send me the IDs of the two customers from your screenshot there? (cus_123)

prime bobcat
#

Sure, just a sec. These are in test mode, if that makes any difference

#

The one that I want to actually use: cus_RbZXuYBdkD8TJT

#

The one that is actually created after subscription: cus_RbZY0OEoGjDlX4

raven prism
#

Ah it looks like the parameter is named customer-session-client-secret but you have client-customer-session-client-secret (you have an extra client- at the start)

#

If you fix that I think we should use the existing customer properly

prime bobcat
#

Let me test

#

You are absolutely correct, and it works now. How embarrassing, night coding is not a good habit. Thank you for fast input and patience

raven prism
#

No worries! Very easy to type a param wrong like that, I do it all the time

prime bobcat
#

Yeah, debugging becomes frustrating very fast when you are looking for answers in everywhere else but the obvious