#Gamx

1 messages ยท Page 1 of 1 (latest)

broken oxideBOT
thin tartan
#

Hello ๐Ÿ‘‹
Have you tried placing print statements/debuggers in your code to see what's exactly going on here? Like yeah I agree on your hypothesis that somehow all different events are making it through your conditional and into your handler code, however is it only some events? or is it all events?

twin otter
#

Hello !

all event except checkout.session.completed,, yes there is some debuggers to check some variable value but nothing special, i mean usually if i had bugs in my php webhook file, it was flagged in checkout.session.completed response

thin tartan
#

Can you share the code for your handler? I can take a look and see if I find anything but most likely you need to debug why these events are making it through your conditional

twin otter
#

Hum, in fact thank you, i got it, one line of code was outside the conditional cases, so on every event it was executed, just got that ... So sorry for losing your time, do you have a paypal account so i can tip you ? ๐Ÿ˜„

thin tartan
#

NP! ๐Ÿ™‚ Glad you figured it out.
Happy to help