#Luis Chapa

1 messages · Page 1 of 1 (latest)

formal plankBOT
zealous fiber
#

To further look into it can you share the event id? evt_xxx

rocky storm
#

"evt_1MZ1WTGMf1aGEsqfLr54OeJC"

#

this was the last one, but i got three

#

and i wasnt even coding or using the web app

#

(i have no users but me rn)

zealous fiber
#
#

Pretty sure that's a test

rocky storm
#

i i see

#

the rounded event matches with those that you send me, cause the date and hour

#

but the first three make no sense

#

cause i wasnt even doing anything

zealous fiber
#

Send here those 3 event ids

rocky storm
#

ok ok

#

"evt_1MZ1x4GMf1aGEsqfpP8ZgDgt" this is the first one

#

"evt_1MZ1djGMf1aGEsqf4XXY6Uol" second one

#

"evt_1MZ1WTGMf1aGEsqfLr54OeJC" the third one

zealous fiber
#
#

For the confirmation calls

#
#

Those are all test card 4242

rocky storm
#

but i mean, for this to happen i should have done the payment three times right? or this event is happening due something else? because i didnt make those payments

zealous fiber
#

189.159.37.223 is this IP familiar to you?

rocky storm
#

yes

#

but again, i should have done the payment three times right? or this event is happening due something else?

#

perhaps is something related to my code

zealous fiber
#

I believe that's you paid 3 times. All the confirmation call (when the Checkout Session is paid) came from that IP

rocky storm
#

im seeing that the customer email was test@gmail.com, and that account got a failure on that event hours ago due to a error in my code. Perhaps those events correspond to the webhook retries but still

#

can you check my code? perhaps i have something wrong

zealous fiber
#

How are you doing retry?

rocky storm
#

im not, i thought that stripe do it that for default

#

look

#

that means that event failed but it worked on an future event

zealous fiber
#

No each event should be corresponding to different Checkout Session

#

You can look at the event by clicking into it I believe, then check the id cs_test_xxx

rocky storm
#

cs_test_b16QWRPJvakGf1PwYKMT9aQSYjaAvkBaJSIhSbvPKLpSfBicRIX72bgSa0

#

with those webhooks im telling you that i didnt call them, this is how my database looks

#

before those webhooks, i only haved one row

#

a correct row

zealous fiber
#

I think it's not your webhook handling logic. By the time the event came and you started this handling logic it suppose to register into your DB

#

the question is where was the Checkout Session confirmed and triggered this event

#

I believe it's some action on your own from the IP address above

rocky storm
# rocky storm

in this image, at those hours i want even in my house, on those three events

zealous fiber
#

Probably you have some other developer working on the same proj? Looking at the IP, if you recognize it then it's your environment

rocky storm
#

so, youre telling me that i´ve done those 3 payments (that could not happen either since pricing tables got also a logic in case for a user with paid subscriptio, so i could not even access again to checkout portal), but im going to clear my database and start over with it. What can you recommend me to do? Also, if i have session.rollback() why did it make other rows?