#shehzadnizamani_docs
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.
âąď¸ 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/1273893588291555453
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
The steps will be as follows:
- Create a customer with the email address that associated to your own internal customer ID
- Set Stripe Customer ID (cus_xxx) in
customerfield when creating a Checkout Session: https://docs.stripe.com/api/checkout/sessions/create#create_checkout_session-customer - When the customer comes back next time, check whether a Stripe Customer (cus_xxx) has been created. If yes, then use the existing customer ID
When customer field is set, new customer will not be created
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Hi River,
A follow up question. What will happen in case when customer with current email address already exists in Stripe's system? Will this create a new customer with current email address in Stripe's system or Stripe will just return customer ID if customer already exists?
Stripe doesn't de-duplicate and will create a new Customer with the same email address. Your system should ensure Customer creation request is only made when such a Stripe customer doesn't exist
Thanks for your response, this makes sense