CarrierService doesn't return rates on checkout

1export
Shopify Partner
1 0 0

Hi, Our CarrierService API was successfully installed on the storefront and is now present. But upon checkout it returns an error (see https://snipboard.io/UyaFZe.jpg). Also we noticed that checkout doesn't return a "country code" and we're expecting this payload as provided in this documentation (https://shopify.dev/api/admin-rest/2021-10/resources/carrierservice#top) and here's the result from our API endpoint (if Shopify throws the correct payload):

 

{ "rates": [ { "service_name": "1Export ShipIt Carrier", "service_code": "1ESC", "total_price": 4627, "description": "ShipIt Service for shopify.", "currency": "PHP" } ] }

 

Also, may I ask how do we check the payload being thrown on checkout? Thanks!

Replies 0 (0)