#cassaveties_customer-duplicate
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/1220846312417792022
đ 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.
- cassaveties_unexpected, 42 minutes ago, 11 messages
cassaveties_customer-duplicate
I have more info. The backend call is doing this:
StripeCustomer::create(
[
'address' => [
'country' => $customerCounty,
'postal_code' => $customerPostalCode(),
'ip_address' => $customerIp,
]
'email' => $email,
'payment_method' => $stripeToken // or 'source' => $stripeToken
]
)
Hey @gritty mountain ! We (Stripe) usually don't have any "de-duplucation" of Customer at all
You can create 2 or thousands of Customers with the exact same email address if you want to
What we think we're seeing is that when that call is done, sometimes Stripe returns a previously existing customer ID. Is that possible?
no
My gut tells me you use a third-party SDK for your Stripe integration and maybe they de-duplicate?
No we're using the Stripe API
Yours says StripeCustomer::create() and that's not what our API looks like
Do you have an example Customer id I can look at?
cus_P6srQFKpPS7I9w
Okay so that Customer was created in https://dashboard.stripe.com/logs/req_iY3YGenrabZErk last year
I'm fairly certain something in your own code/stack is not creating a real Customer because you already have on with that email
it's definitely not a Stripe feature I am certain of that