I've a requirement to implement a shipping system that will ship via
both Fedex & UPS, with USPS to possibly follow.
I've implemented UPS shipping by stealing judiciously from Donald
Ball's work as detailed in:
http://groups.google.com/group/activemerchant/browse_thread/thread/b39add31340b1f1c/5269b117f18e8e1f?lnk=gst&q=ups+shipping#5269b117f18e8e1f
I also used a bit of dpicket's fork at
https://github.com/dpickett/active_shipping
since it provided a return labels functionality for Fedex and was
easily modified to provide shipping.
I've now got a first cut of shipping done using the same api between
UPS & Fedex. It's far from production ready, but I've successfully
printed a label with both. One current limitation is that FedEx only
allows one package per shipment.
Are there any other good forks out there that I've missed that I
should borrow from? I'd be especially interested in USPS shipping, as
I'll most likely have to implement that eventually anyway.
I'd like to get a really good shipping implementation merged. To that
end I've kept my fork tracking the main branch as closely as possible
and kept the changes to the existing files minimal.
I've put my work to date at:
https://github.com/nathanstitt/active_shipping
Basically it adds a include_ship_support! class method to both FedEx
and UPS. Calling it includes a ShippingSupport module which has one
main method, ship. To which you pass an instance of the Shipment
class.
A fuller example is in the fedex_shipping_test & ups_shipping_test
files at:
https://github.com/nathanstitt/active_shipping/tree/master/test/remote
Any thoughts on how I should proceed?