#SamiK-webhooks
1 messages · Page 1 of 1 (latest)
Notice: Undefined index: HTTP_STRIPE_SIGNATURE in C:\laragon\www\themeid\wp-content\themes\themeid.net2\templates\webhooks.php on line 13
Error message in console: Failed to load resource: the server responded with a status of 400 (bad request)
how exactly do you test the page?
it sounds like you're opening something in your web browser?
(that would not be correct and is probably the problem)
refresh the page
which page? But yeah, you never should be visiting webhooks.php in a browser.
you test it by sending a webhook event to it from Stripe (e.g. calling stripe trigger)
(you're probably confusing success_url for Checkout with webhooks, they're separate things and two different pages/scripts)
I do stripe trigger and on the stripe local webhook listener page it says received events 3 and there is a new payment.
so the only way to visually see what's been sent is to look at the dashboard received events tab?
yep! or log it in your own code somewhere (like write to a file or the PHP error log or so on) if you want to check/debug things
ok, thanks