Shopify / active_shipping

ActiveShipping is a simple shipping abstraction library extracted from Shopify
http://shopify.github.io/active_shipping
MIT License
813 stars 547 forks source link

Support for Canada Post contract shipping #169

Open TimSullivan opened 10 years ago

TimSullivan commented 10 years ago

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?

jasonmclaren commented 10 years ago

I'm also interested in contract shipping support. Did you get anywhere with this?

TimSullivan commented 10 years ago

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.

fredericboivin commented 9 years ago

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.

TimSullivan commented 9 years ago

@dangerdogz If you need someone to help, this is becoming increasingly important to me.

fredericboivin commented 9 years ago

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 notifications@github.com:

@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 .