Canada Post Shipping Module

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
User avatar
Jeffr_ca
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 35
Joined: Mon Oct 12, 2009 6:28 pm
Location: Canada
Contact:

Canada Post Shipping Module

Post by Jeffr_ca » Tue Oct 20, 2009 7:23 am

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.

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Canada Post Shipping Module

Post by mazhar » Tue Oct 20, 2009 9:16 am

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.

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Canada Post Shipping Module

Post by mazhar » Tue Oct 20, 2009 9:18 am

Read following topic about how to integrate a shipping carrier
http://wiki.ablecommerce.com/index.php/ ... ng_Carrier

User avatar
Jeffr_ca
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 35
Joined: Mon Oct 12, 2009 6:28 pm
Location: Canada
Contact:

Re: Canada Post Shipping Module

Post by Jeffr_ca » Tue Oct 20, 2009 9:33 am

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

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Canada Post Shipping Module

Post by mazhar » Wed Oct 21, 2009 10:20 am

Please read our partners list, you can contact them for custom programming
http://www.ablecommerce.com/Shopping-Ca ... 11C33.aspx

User avatar
Jeffr_ca
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 35
Joined: Mon Oct 12, 2009 6:28 pm
Location: Canada
Contact:

Re: Canada Post Shipping Module

Post by Jeffr_ca » Wed Oct 21, 2009 1:39 pm

I was really hoping to give this a shot on my own...

-Jeff

Post Reply