Hi, did someone found a way to return the 200 when all conditions are met?
Any help would be appreciated!
Hi, did someone found a way to return the 200 when all conditions are met?
Any help would be appreciated!
Hi Levon,
I was wondering if you could tell me how you managed to return the http 200 success response.
Thanks
I am using Mercado Pago as a payment processor and I am using webhooks for the notifications endpoint.
My problem is that Mercado Pago says:
“When you receive a notification on your platform, Mercado Pago waits for a response to validate that you received it correctly. For this, you must return an HTTP STATUS 200 (OK)
or 201 (CREATED)
.”
How can I return this HTTP 200 response?
I tried this:
I tried also this:
And also tried this:
None of them have worked, so I keep receiving the same webhook notification many times (if I don’t respond with a HTTP 200 it keeps retrying)
For Telegram, this worked for me.
{
“ok”: true
}
Any update regarding this?
I have 2 APIs in question:
I will refer to these as 1 and 2 from now on.
I am 1 to hit 2. 2 does many things hence it takes time to get a response. Is there any way to send a 200 OK to my 1 before it completes? I have tried scheduling it and returning data from 2 in the middle of the process (before the workflows that take time but to no avail.
Someone Help!!