I have a fulfillment service setup and a callback url waiting to receive requests and cancellation requests. I have it just logging the requests for now, but it seems to not really be sending requests for a lot of the events.
So far I have previously received a few fulfillment requested and one cancellation requested. I know the endpoint works because I have received a few of these:
{“timestamp”:“2024-09-11 15:51:58”,“storefront”:“us”,“request”:{“kind”:“CANCELLATION_REQUEST”},“post_body”:“{"kind":"CANCELLATION_REQUEST"}”}
But for whatever reason I can’t get it to consistently send them. Any ideas?
HI, there
I guess there might be some reasons:
- Verify that your endpoint is functioning correctly and ensure that your service is running smoothly.
- If your endpoint is functioning properly, there might be an issue with the request-sending process. Review the logic of how requests are being sent.
- Check if the URL callback is not changing.
- Have you deactivated the fulfillment service location?
Did you ever get to the bottom of this? I’m consistently receiving FULFILLMENT_REQUEST webhook requests from Shopify, but have never received a CANCELLATION_REQUEST. Luckily I have a cron job that sweeps any assigned fulfillment cancellations up every 15 mins, so they’re still processed after a delay.
I did not, it sort of started working for like ~45% of cancellation and fulfillment requests and I have a 10 minute cron to catch the rest as well.