Page 1 of 1

Canada Post Shipping Module

Posted: Tue Oct 20, 2009 7:23 am
by Jeffr_ca
Sorry for "nudging" this request into a new thread, but I'm hoping someone can give me a hand here....

I need some guidance about where to look or whether we can make the desired change without access to the source code for the CommerceBuilderCanada Post.dll

If necessary, might the source for the Canada Post shipping module be available like the FedEx and UPS modules?

Thanks!!

-Jeff

Jeffr_ca wrote:I am hoping to modify the Canada Post shipping quote to the customer to show the days of service for their selection of shipping method.

Currently shows this:

Canada Post Expedited Parcel: $8.93
Canada Post Express Post: $10.95
Canada Post Priority Courier: $24.95

Instead, we would like to show:

Canada Post Expedited Parcel: $8.93 (5 Days)
Canada Post Express Post: $10.95 (3 Days)
Canada Post Priority Courier: $24.95 (1 Day)

Is the Source Code for the Canada Post shipping module available? Or would it not be required?

I know that the Canada Post server returns the information (we'll have to do some calcs), but I'm not sure if the entire response string from Canada Post is available for us to parse the data out.

Re: Canada Post Shipping Module

Posted: Tue Oct 20, 2009 9:16 am
by mazhar
Well I have looked in the matter and it doesn't seems that there is any easy way to get it done. First when querying the canda post we are not asking for service days and secondly ShipRateQuote class is not exposing any specific field for this purpose. This means that if some one implements his own gateway and updates his service quote method to query service days then how he will return this info back to AbleCommerce application.

The workaround that may work is to write your custom provider for canada post where you will query canada post about service days as well for shipment quotes. Now the question is how you will return these service days back to AbleCommerce application, for this there is a property with name Warnings in ShipRateQuote class where any error or warning message is returned. You can put some code to make sure that your service days will be returned through this property.

Re: Canada Post Shipping Module

Posted: Tue Oct 20, 2009 9:18 am
by mazhar
Read following topic about how to integrate a shipping carrier
http://wiki.ablecommerce.com/index.php/ ... ng_Carrier

Re: Canada Post Shipping Module

Posted: Tue Oct 20, 2009 9:33 am
by Jeffr_ca
Thank you for your reply Mazhar,

It's my understanding that the Canada Post server provides information back with the shipping quote stating the "Shipment Date" and "Delivery Date". We could then do the math between the two dates to show our customers a "days of service". But it looks like the bigger challenge is that there is no specific fields in the ShipRateQuote class.

If I was to pursue this, rather than starting from scratch on an new shipping carrier, would you be able to make the existing Canada Post source available?

If we can make it work, I would have no reservations about posting it back to the community for others to use.

-Jeff

Re: Canada Post Shipping Module

Posted: Wed Oct 21, 2009 10:20 am
by mazhar
Please read our partners list, you can contact them for custom programming
http://www.ablecommerce.com/Shopping-Ca ... 11C33.aspx

Re: Canada Post Shipping Module

Posted: Wed Oct 21, 2009 1:39 pm
by Jeffr_ca
I was really hoping to give this a shot on my own...

-Jeff