#brunapinto

1 messages · Page 1 of 1 (latest)

uncut hingeBOT
rapid wraith
#

You're seeing duplicate customers being created despite only trying to create 1?

#

Do I have that right?

upbeat plank
#

Yes, for example:

#

It was created at th same time in Stripe

#

One of them has a subscription, but this one is not the same customId connected with our database. The one that is on our database is the below, which has no subscription

rapid wraith
#

Likely your code is triggering duplicate requests somehow

#

Can you share the 2 customer id's?

upbeat plank
#

yes!

#

cus_OPNnAXUSvZogKF

#

cus_OPNngR3Ai7K0rm

rapid wraith
#

Ah yeah your app is issuing duplicate requests for some reason. So you'll need to debug this on your end:
https://dashboard.stripe.com/logs/req_zQDraAG7Ebi2WB
https://dashboard.stripe.com/logs/req_nQH1613rbk0POe

upbeat plank
#

Yes, but that doesn't always happen. It happens sometimes and sometimes it doesn't.

rapid wraith
#

Yeah you'll need to debug the issue. Above are 2 separate requests your application made to our api. Our api just does exactly as it's told. So if we receive 2 requests to create a customer, we create a customer both times

upbeat plank
#

So what you are saying is that the problem is in our side?

rapid wraith
#

Yeah