Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Only some requests making it to callback url

Only some requests making it to callback url

joeybab3
Shopify Partner
130 16 33

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?
Replies 3 (3)

Eric-HAN
Shopify Partner
297 30 32

HI, there

I guess there might be some reasons:

  1. Verify that your endpoint is functioning correctly and ensure that your service is running smoothly.
  2. 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.
  3. Check if the URL callback is not changing.
  4. Have you deactivated the fulfillment service location?

 

- Helpful? Please hit Like and mark it as a solution
Want to modify or custom changes on store? Let me help.
- Feel free to Email Me    Buy Me A Coffee

complect
Shopify Partner
1 0 0

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.

joeybab3
Shopify Partner
130 16 33

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.