#daniel_unexpected

1 messages ¡ Page 1 of 1 (latest)

bright chasmBOT
#

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

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

sage reef
#

I receive an email with a link to the billing page and the last created customer is shown.
Can you share the Checkout Session Id cs_xxx? or its creation request req_xxx

zinc dagger
#

cs_test_a1tSPWLy5mGQgV3qod6e4pwSI9CnvocboDBWYH44DTJYMrV060JmRgOXWA

sage reef
#

Okie then

I receive an email with a link to the billing page and the last created customer is shown.
how do you differentiate the last customer in your email?

#

Assuming cus_S5JE1kZVuZ5Pyk is your first Customer, which is used to create that Checkout Session

zinc dagger
#

I am using the stripe-pricing-table and create a customer-session-client-secret for the customer with stripe_id cus_S5JE1kZVuZ5Pyk. I would expect that this stripe_id is somehow part of the portal link and forwarded to the portal.

#

on this screen the correct customer is used.

sage reef
#

Okie what happen if you click to "Log in to customer portal"? If you change something there, do you see it is reflected on cus_S5JE1kZVuZ5Pyk ?

zinc dagger
#

i can see the stripe_id of the other customer with this email address. and i can see changes to the second customer after updating the subscription.

sage reef
#

Thanks, can you post here the other customer id in text? cus_xxx

zinc dagger
#

cus_S5JGZD5jyuXf5a

sage reef
#

And when you create this Checkout Session, both cus_S5JE1kZVuZ5Pyk and cus_S5JGZD5jyuXf5a already has a Subscription, correct?

#

sub_1RB8cpDzQuiKhERcds08e9YH and sub_1RB8gjDzQuiKhERchxEOCT5a respectively

zinc dagger
#

correct

bright chasmBOT
sage reef
#

Okie I think I know what this is

zinc dagger
#

what did i do wrong?

slender pawn
#

hi! I'm taking over this thread.

#

looking into this

zinc dagger
#

hi, thank you

slender pawn
zinc dagger
#

Yes, I assume that the decision for the link was made by Stripe and I will accept it. But whenever it is possible to specify the stripe_id of a customer it should be taken into account.

slender pawn
#

I agree that the current behavior is not ideal. I'll flag that inernally to see if that can be improved.