#emeraldsoft-webhook
1 messages ยท Page 1 of 1 (latest)
Hi can you send me your merchant ID so I can take a look?
you can find your merchant ID from Settings -> Account details
thanks, looking for it
merchant ID starts with acct_
acct_1IuiyuB7iDHk6l7E
here is the failed response
"id": "evt_1K936hB7iDHk6l7Eil5vqFlX"
failed response id
sorry, *failed event id"
Thanks, let me take a look at your dashboard
do you need anything else?
I saw there is a TLS_error , did you update the SSL certificate recently?
No , I also got a TLS error once when I sent manually, but sending the request again turns into a time out error
Does your webhook endpoint returns 200 response quickly?
we haven't added a 200 response, it was working fine before, should we add a 20 response?
*200
Yes, Stripe is expecting a 200 response from your endpoint
ok, will add it and get back t you
We added this line:-
http_response_code(200);
to the bottom of our file , than resent the event, but it still does not work
It seems that our webhook is not receiving any request from Stripe, because nothing is saving in our logs
Is there any code that could prevent http_response_code(200) getting executed?
let me test with post man
How about remove everything temporarily and just return 200 response?
ok ,we will put this code temporarily
<?php http_response_code(200); ?>
stripe webhook still failing
sending post request from postman gives a 200 response
Is your webhook endpoint URL https://topsoilsnorthwest.com/tnw_retail_calculator_1_2_1/web_services/stripe_webhook/webhook.php ?
yes
OK, so I tried it in Insomnia, the first request gave me TLS error, and the second request returns 200
Ok, Thanks for your help, I tried a different link with a different domain and it worked
I think maybe its SSL issue
It's great to know that your issue is resolved ๐
๐