active_shipping
active_shipping copied to clipboard
Support for Canada Post contract shipping
We recently signed a contract with Canada Post, and now when I try to create a shipping label, I get this error:
ActiveMerchant::Shipping::ResponseError: Commercial customers with a valid parcel agreement must use Contract Shipping services.
From looking through the source code, it seems like there isn't support for contract shipping, and it seems that they're different enough to make this non-academic. Has anyone done any work on this already, or should I just start digging in?
I'm also interested in contract shipping support. Did you get anywhere with this?
I didn't, unfortunately. The shipping savings wasn't worth the effort at the moment, so I downgraded back to Venture One and put it off until I had more time.
Currently working on this.
It's not overly different from non-contract shipping but there is a few additionnal calls (you have to transmit a manifest for your shipments) and some options / tweaks to add.
I came to this from spree_active_shipping so I started with the v0.12 release. I'll have to rebase my fork on v1 and add test coverage but I should be able to provide a pull request in the next month or so.
@dangerdogz If you need someone to help, this is becoming increasingly important to me.
I started a while ago but got sidetracked on something else (juggling quite a few projects at the moment). I ought to continue starting tomorrow or early next week. The foundations of ActiveShipping are pretty great so it's not that hard to set up. My fork is messy or outdated but the first steps were working (create shipment and print manifest).
Got some catching up to do since there was a few patches and I'm using Spree on top of that but I'll be sure to take you up on your offer as soon as I'm in the thick of it
2015-08-05 10:43 GMT-04:00 Tim Sullivan [email protected]:
@dangerdogz https://github.com/dangerdogz If you need someone to help, this is becoming increasingly important to me.
— Reply to this email directly or view it on GitHub https://github.com/Shopify/active_shipping/issues/169#issuecomment-128021477 .