question

quantfive avatar image
quantfive asked Raymond Lee Deactivated commented

Clover Webhooks Wrong Callback

Hey guys, we're trying to setup webhooks on Sandbox and we were able to get there except the callback URL is strange.

We're using Django as a backend, and our route exists, but it looks like whatever Clover is calling isn't 100% correct.

Not Found: /https:/solestage.ngrok.io/api/clover/[28/Aug/2018 07:42:09]

"POST <a href="https://solestage.ngrok.io/api/clover/HTTP/1.1"> 404 1726</a>

Our webhook URL is https://solestage.ngrok.io/api/clover/ but the URL Clover seems to be hitting isn't so.

If we POST to our own URL, our logs look like this:

POST /api/clover - 403

Forbidden: /api/clover

[28/Aug/2018 17:10:42] "POST /api/clover HTTP/1.1" 403 0

So it looks like it's hitting something like: https://solestage.ngrok.io/ https://solestage.ngrok.io/api/clover/ -- anyone know what's up?
SandboxWebhooks
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

quantfive avatar image
quantfive answered
Hey @zgreathouse thanks for the reply. So I've set my webhook to https://solestage.ngrok.io/api/clover/

There is no / in the beginning of the URL. Will try out the webhook tester.

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

quantfive avatar image
quantfive answered Raymond Lee Deactivated commented
Hey @Raymond Lee, can you give me a CURL or some kind of request that demonstrates this absolute URL? I'm unable to reproduce the request that you guys are making.

My URL patterns are standard and setup correctly. There's no assumption made of an absolute URL vs a relative URL, so I'm not sure that's the issue. Will do digging about this though.

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community