Hi, Shopify community,
I'm working on setting up an API carrier service that would retrieve the rates from a local server.
The Shopify store is a developer store, and the Carrier is registered there successfully with the right IP address.
However, when I create a test order and go to checkout, I don't see my rates there.
I can see the carrier in Shopify admin settings - no services for that carrier thou.
Using Postman, I see that the JSON response to the POST request to the URL (http://126.96.36.199:5000/api/rates/) is correct.
My server also sees the POST request when Shopify submits it, however, it tells me that
"the application completed without reading the entire request body". Any ideas why Shopify is not retrieving the response to the post?
Here is the Carrier service JSON response from Shopify when getting the carriers:
Solved! Go to the solution
This is an accepted solution.
Hey @vminasyan ,
When checking our logs here, it looks like the response to our request for rates is a 307 redirect which is interpreted as a failure. Are you able to look into why that may be happening?
If you're able to solve that part of the issue and still aren't seeing rates, feel free to post back here to let me know and I can take another look.
I am having simular issues.
Shopify Callback URL is working and the web API is returning the following json to Shopify
"description": "This is a test",
"min_delivery_date": "2020-07-12 14:48:45 -0400",
"max_delivery_date": "2020-07-12 23:48:45 -0400"
But when in Shopify the user interface is showing the following message after I click on the Continue to Shipping button
This order can’t be shipped to your location. Contact the store for more information.
What am I doing wrong?