We are building our own shipping calculator as we have more specific needs than what's offered natively from Shopify (ie Wholesale rates, customer loyality rates, etc). The problem is that we also want to provide free shipping over a certain amount for specific types of customers. For this we cannot use the native free shipping option, and we can't build our own version either:
- The POST data from the shopify callback does not contain the total order amount after discount. It only gives each item with the base price. This makes it impossible to properly calculate free shipping options.
Also, in order to get any customer tags (for logged-in users) and apply specific rates based on them, we would need either the customer ID or email address. Only the full name is provided which is not unique enough to make sure we query the correct customer. There might be some security/privacy reasons for not providing this information but if the store owner accepts the permissions to read customer data, it should be fine.
So at this point, we cannot move forward with our implementation which is a real shame. The CarrierService definitely seems incomplete at this point. Are there any plans on adding this additional information to the callback?