#emeraldsoft-webhook

1 messages ยท Page 1 of 1 (latest)

thorny herald
#

Hi can you send me your merchant ID so I can take a look?

#

you can find your merchant ID from Settings -> Account details

wind maple
#

thanks, looking for it

thorny herald
#

merchant ID starts with acct_

wind maple
#

acct_1IuiyuB7iDHk6l7E

#

here is the failed response

#

"id": "evt_1K936hB7iDHk6l7Eil5vqFlX"

#

failed response id

#

sorry, *failed event id"

thorny herald
#

Thanks, let me take a look at your dashboard

wind maple
#

do you need anything else?

thorny herald
#

I saw there is a TLS_error , did you update the SSL certificate recently?

wind maple
#

No , I also got a TLS error once when I sent manually, but sending the request again turns into a time out error

thorny herald
#

Does your webhook endpoint returns 200 response quickly?

wind maple
#

we haven't added a 200 response, it was working fine before, should we add a 20 response?

#

*200

thorny herald
#

Yes, Stripe is expecting a 200 response from your endpoint

wind maple
#

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

thorny herald
#

Is there any code that could prevent http_response_code(200) getting executed?

wind maple
#

let me test with post man

thorny herald
#

How about remove everything temporarily and just return 200 response?

wind maple
#

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

thorny herald
wind maple
#

yes

thorny herald
#

OK, so I tried it in Insomnia, the first request gave me TLS error, and the second request returns 200

wind maple
#

Ok, Thanks for your help, I tried a different link with a different domain and it worked

#

I think maybe its SSL issue

thorny herald
#

It's great to know that your issue is resolved ๐Ÿ™‚

wind maple
#

๐Ÿ‘