#3066 - Shipping costs: Shipping company APIs, and more complex calculations

Identifier #3066
Issue type Feature request or suggestion
Title Shipping costs: Shipping company APIs, and more complex calculations
Status Completed
Handling member Chris Graham
Addon shopping
Description Currently you can configure a base shipping cost, and a per unit weight cost (or possibly a flat figure if #1520 is implemented).

However, shipping companies will take physical dimensions into account, and we can't abstract how they might do that. Some may charge based on volume, some based on adding the length+width+height, some may charge based on size categories, etc. Definitely distance is a factor for international shipping. The only true way to handle it is to actually use the shipping company's own APIs.

Actually, we'd abstract it by using the https://goshippo.com/ API.

This builds on #3065. The APIs would be tied to configured shipping options, a shipping option would specify what particular shipping company & plan was involved for it. We'd have config options for Shippo, and if configured the shipping option management screen would allow you to add Shippo shipping options rather than just ones certain calculation parameters.

We'd need to add shopping catalogue fields for length, width and depth.

The customer's shipping address would need to be entered before shipping could be calculated. However, this is already done for tax.
Steps to reproduce

Additional information Ideally we could directly implement the different shipping options, avoiding goshippo. Open Source is better. However goshippo is free to use (they make money on extra services like label printing), so it is a reasonable compromise.
Funded? No
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated