#alexesch_unexpected

1 messages ยท Page 1 of 1 (latest)

quartz raftBOT
#

๐Ÿ‘‹ 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/1315629393179181068

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

haughty haven
#

hi

west nest
#

๐Ÿ‘‹
Could you please share more details ?

haughty haven
#

sure

#

can you please check on your end, payment intents related to customer cus_R7eqTPYwtDB3OJ
as you can see, there are a completed payment intent (pi_3QFQBHJaf89hC41I1i1yq4tA) , which belongs to a different customer

#

how it's possible?

#

on our side, we create an order in our system, after receiving a webhook from your system, we attach it as a debug to the order itself
checking the latest orders, I see that this user, his payment does not match

west nest
#

can you please check on your end, payment intents related to customer cus_R7eqTPYwtDB3OJ
Can you share where are you seeing the related payments exactly ? is in Stripe Dashboard, could you please share the link to the page youare referring to if so ?

haughty haven
#

can you make this channel private?

west nest
#

The PaymentIntent pi_3QFQBHJaf89hC41I1i1yq4tA was made for the customer cus_R7fLIJQGvBW1pp

west nest
#

It's safe to share it here

haughty haven
#

yep, but i wanted to share screenshot with you

#

ok

#

just a sec

#

the highlighted payment intent, is pi_3QFQBHJaf89hC41I1i1yq4tA
and, in our system, the order webhook data is also containing the reference to this payment intent

#

if you will check the 2 success payments for customer cus_R7fLIJQGvBW1pp
pi_3QFQBHJaf89hC41I1i1yq4tA is done from seattle, 29 Oct 2024, 17:56
and
pi_3QFQ0wJaf89hC41I0DuHnAZD is done from florida, 29 Oct 2024, 17:45
what is impossible

west nest
#

Ok I see... you are searching using Email.

haughty haven
#

yep

west nest
#

Emails aren't unique by Customers. You can have two Stripe Customers with the same email technical there is no constraint.

haughty haven
#

but this 2 customers have different emails

west nest
#

If you want to avoid that, your integration need to check if there is an existing customer first with that email

#

The first screenshot was deleted.

west nest
#

Then I didn't understand how you find these two payments by the same email and then saying that these two Customer are using different emails

#

Can you share the link to your Stripe Dashboard please so that I can see/check ?

#

Or guide me through how you arrived to these two payment intents.

haughty haven
#

well, check this 2 customers
the weird one: cus_R7eqTPYwtDB3OJ
the right one, but with unexpected payment (related to the first customer) : cus_R7fLIJQGvBW1pp

so, the pi_3QFQBHJaf89hC41I1i1yq4tA belongs to the first customer

#

but is showed as related to the second

#

Can you share the link to your Stripe Dashboard please so that I can see/check ?
-- how can i do it?

west nest
#

Let's go step by step. The two PaymentIntents pi_3QFQBHJaf89hC41I1i1yq4tA and pi_3QFQ0wJaf89hC41I0DuHnAZD belongs to the same Customer right ?

haughty haven
#

right now, yes
but is wrong

west nest
#

What make's saying this is wrong ?

#

This is what your integration created actually, when calling Stripe APIs.

haughty haven
#

because for the order information, with stripe webhook update, i can see the following

west nest
#

Your backend/integration, specified that Customer Id in both PaymentIntent (check these requestIds: req_IKLY5e29kizCGM and req_x0a17JKVjpKpky)

#

You are specifying the customer id cus_R7fLIJQGvBW1pp in both requests.

haughty haven
#

ok, let me investigate it a little bit more

#

thanks

west nest
#

If this is not accurate according to your business needs, then you need to debug your backend and make sure sending the correct Customer Id for each case.