#Red the Great Hunter
1 messages · Page 1 of 1 (latest)
Hi there, it'll create a new customer even with the same email address.
You can specify a customer (https://stripe.com/docs/api/checkout/sessions/create?lang=curl#create_checkout_session-customer) when creating a 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.
Ok, that really doesn't make sense to do that but will send the customer ID that I have.
The reason why is because on a failed payment would like to use the same customer when they try to order again.
Again email addresses are unique so it really doesn't make sense to create a new customer with the same email address.
Also you should make it so both parameters are allowed and if the customer is not valid use the email address.
To create a new account
Thanks for the feedback, feel free to reach out to support https://support.stripe.com/contact/email and let us know what we should do to make Stripe better.
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.