#Gamx
1 messages ยท Page 1 of 1 (latest)
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?
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
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
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 ? ๐
NP! ๐ Glad you figured it out.
Happy to help