#mike-dai_api
1 messages · Page 1 of 1 (latest)
👋 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. Thank you for your patience!
⏱️ We automatically close idle threads, which makes them read-only. Make sure you stick around to chat in realtime! If this thread is closed and you have another question you'll need to start a new thread.
🔗 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/1214044852002496623
📝 Have more to share? You can add more detail below, including code, screenshots, videos, etc.
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.
- mike-dai_api, 2 days ago, 5 messages
hello
The above ID is not a Stripe object ID. Can you share an example subscription link?
Are you integrating with Stripe directly, or use third party plugin / platform?
Ah I see! Can you share the example customer ID (cus_xxx), so that I can take a look? The customer portal should show the active subscriptions of the customer
cus_Pfmz1EXJqz1b8k
cus_PenVt8qLjOBh4q
These two customers share the same email address.
As mentioned in https://docs.stripe.com/customer-management/activate-no-code-customer-portal:
If multiple customers have the same email address, Stripe selects the most recently created customer that has both that email address and an active subscription.
This is expected
I want all subscriptions to be displayed in the same mailbox. How can I do this?
You should create a single Stripe Customer in such a case. The recommended steps will be:
- Collect the customer email in your website
- Create a Stripe Customer for the email address collected in Step 1: https://docs.stripe.com/api/customers/create
- When creating a Checkout Session, set the Stripe Customer in the
customer: https://docs.stripe.com/api/checkout/sessions/create#create_checkout_session-customer - When the customer comes back next time, use the Stripe Customer ID created in Step 2 to create a new Checkout Session
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
No problem! Happy to help 😄