-
Re: Canada Post module
Quote:
Originally Posted by
highlander
A question for all people using the Canada Post module for shipping. Do you just let Canada post handle the shipping esitmates (you configure boxes, put in dimesions and weights etc), or do you use table rates? I'm trying to decide which would be better for me to do. I have products of all shapes and sizes and sometimes CPC estimates are way off when people order multiple products.
What advice to you have and why?:smile:
The table rates on the Canada Post mod are for lettermail, not for parcel mail. You need to update them manually if there is an increase in rates. The postage for lettermail is then calclulated right in your zen cart, not at Canada Post.
For parcels, you enter your available package sizes, and define your product measurements. Canada Post, not zen cart, will then calculate shipping based on your product size/weight, and your available packaging. You need to plan your packaging properly. Canada Post interface will NOT try and stuff 4 things in a box by turning one of the items sideways to make it fit. Your lengths, widths, and depths definitions have to line up with your package definitions. ie it will NOT put something 2" x 4" x 6" in a box that is 6" x 4" x 2". It WILL stack multiple items within a box. ie it will put two 1x4 x6 items in a 2 x 4 x 6 box.
I find the postage rates quoted to be bang on as long as I've put in a good assortment of package definitions so that multiple items can be accommodated.
-
Re: Canada Post module
I just need quick confirmation on something... is it port 3000, or is it 30000? Just want to make sure it isn't a typo as my host questioned it.
Also, does anyone know which IP address Canada Post will be using with that port? My host cannot open the port for inbound without that IP address.
Thanks!
-
Re: Canada Post module
Yes, the documentation is correct. 30,000 is the correct port number.
The IP address is whatever sellonline.canadapost.ca resolves to at any given point in time.
As per the documentation you can get specific support for CP matters by contacting CP directly:
Quote:
::: PREREQUISITE :::
You need to work with your webhosting service and ask them to ensure that port 30000 is
open on the server's firewall. If this port is not open for incoming and outgoing traffic,
then your CP online quote requests will not work. (110-Connection Timeout)
Also, you need a SellOnline profile with Canada Post
You can create one by emailing
[email protected] or call 1-866-511-0546 and ask for the Sell Online help desk.
You can manage your existing SellOnline profile via:
http://sellonline.canadapost.ca/servlet/LogonServlet
http://sellonline.canadapost.ca
-
Re: Canada Post module
Quote:
Originally Posted by
DrByte
Yes, the documentation is correct. 30,000 is the correct port number.
The IP address is whatever sellonline.canadapost.ca resolves to at any given point in time.
As per the documentation you can get specific support for CP matters by contacting CP directly:
Thanks for the confirmation, Dr Byte. The host (Hostgator) did tell me that they definitely need an IP address and not a URL, so I will contact Canada Post on Monday to see if they can provide an IP.
-
Re: Canada Post module
Your host can get the IP from the URL in about 4.5 seconds or less.
-
Re: Canada Post module
I am hoping someone can help guide me in setting up my shipping.
My website is www.funwrappers.ca
This is what I would like to do:
I offer free domestic regular Canada Post shipping for all of my candy bar wrappers and label products. I would like to offer a RUSH flat rate shipping service for Canadian customers who need their product in a hurry. Here's where I get confused: for my candy bars, customers can order just the wrapper (which would be free domestic shipping) or they can add the candy bar (set up as an attribute). I need to set up the shipping for when a customer wants to add the candy bars to their order. This would have to be by weight as the shipping cost will depend on how many they are ordering. Then to top it all off, because I do not offer free international shipping of the wrappers and label products I would like to set up flat rate international shipping options.
Is it possible to set up a combination of flat rate and 'by weight' shipping options? The only time it would be by weight is if the customer added a certain attribute to their cart.
I hope all this makes sense....any assistance would be greatly appreciated :smile:
Thanks in advance!
Jennifer
-
Re: Canada Post module
Quote:
Originally Posted by
DrByte
Your host can get the IP from the URL in about 4.5 seconds or less.
Do you know if their IP is static? I got 66.110.6.131 in a lookup of the IP address for sellonline.canadapost.ca. If that is the permanent IP address for sellonline, I will give it to Hostgator.
(I tried calling Canada Post today and they have a recording stating that due to increased call volume, they cannot take my call at this time. Strange...)
-
Re: Canada Post module
Has anyone encountered this problem before? We are using Canada Post on our site (www.redpillpress.com), but the only option that shows up for foreign orders is xPresspost, even when air or surface are also viable options. Is there some way to make those options available as well? (We don't have the problem for domestic orders.)
-
Re: Canada Post module
French Language and Canada Post Mod
I've been using this mod for several years and have the latest update installed.
I have French as optional language on my web site.
I copied the two english language files from CP Mod into the french language admin and includes folders as well as their correct english folders.
The mod functions fully and properly in english, but in french does not return shipping options other than non Canada Post options, and does not appear to be active.
I honestly don't recall if I tested this in french at the original install or not, and I rarely get french visitors so it has presented as a problem before.
Is there something else I need to do with this mod to kick start it in other languages, other than copying the two language files?
zc 1.3.9h CP Mod 1.3.9h3 w w w meafordwool dot com
-
Re: Canada Post module
Followed all the instructions as closely as I could, went over the steps again, and still running into a problem:
When I go to admin -> modules -> shipping - there is no "Canada Post Module" option.
All the files have been re-uploaded and the directories are correct. Any ideas?
-
Re: Canada Post module
Quote:
Originally Posted by
soxophoneplayer
French Language and Canada Post Mod...I have French as optional language on my web site.
I copied the two english language files from CP Mod into the french language admin and includes folders as well as their correct english folders...The mod functions fully and properly in english, but in french does not return shipping options other than non Canada Post options, and does not appear to be active.... zc 1.3.9h CP Mod 1.3.9h3 w w w meafordwool dot com
Solution: on the edit sidebar of the mod while in admin config/modules/shipping/canada post I changed the setting of 'selected language' from 'en' for english to BLANK. Then the mod figures out what language it is and calls on the correct language files and gives the appropriate quotes.
-
Re: Canada Post module
I have zencart on my local host and the canada post module works fine and I can click the inline option in the configuration/ shipping packaging. So I put it on live and this option won't work. I've tried reinstalling the files again in case...but it still doesn't work. I'm using
Zen Cart 1.3.8a on line and Zen Cart 1.3.8h on local. Will that make any difference?
-
Re: Canada Post module
Before I start trying to make this mod work with 1.5, does anybody else already have the merged files and a working copy?
-
Re: Canada Post module
I have it installed in V1.5 and works great and does calculate Canada lettermail
-
Re: Canada Post module
Quote:
Originally Posted by
windsurfer
I have it installed in V1.5 and works great and does calculate Canada lettermail
Thanks for the info. Did you need to merge the files and if you did do you have the updated files that I can use?
-
Re: Canada Post module
I did have to merge some of the files but i have so many mods in them that they would be of no use to you.
It is pretty straight forward though using Beyond compare or like program such as winmerge.
-
Re: Canada Post module
Quote:
Originally Posted by
windsurfer
I did have to merge some of the files but i have so many mods in them that they would be of no use to you.
It is pretty straight forward though using Beyond compare or like program such as winmerge.
Thanks, just trying to save my client a few dollars. It did look pretty straightforward in winmerge.
-
Re: Canada Post module
Seems like I'm getting a response from CP, but it does not work for Lettermail.
I've done the following:
* Set up a test product that would be small and light enough for Lettermail
* Set up a "box" for Lettermail on SellOnline
* Made the necessary merges for v1.50
* Made the necessary SQL changes
-
Re: Canada Post module
Don't mean to bump-post, but do I actually have to have "Regular" shipping service turned on on the CP SellOnline side? It doesn't seem to matter as I get a return of the same rate as Expedited.
-
Re: Canada Post module
-
Re: Canada Post module
In order for lettermail to be calculated you need to setup the rates in admin/modules/shipping/canada post
Also in configuration/shipping-packaging you have to have the
Package tare small to medium set to 0:0
Larger Packages 0:0
Not sure what you mean by regular shipping.
The lettermail rates are not set at the cpc level and are not calculated by CPC but by your shopping cart.
-
Re: Canada Post module
I am assuming you have Enable Lettermail Rates set to true in the CPC module
-
Re: Canada Post module
Hello
I have no experience with CP . I have installed this module and is live .
I get 3 rates Priority , Expedited , Regular.
Expedited is the one that is always selected by default.
After looking up the net , it seems that Expedited is only for shipping to USA and not between Canada.
I was wondering , if things needs to be changed through CP or through Zencart.
This is important , because , I have installed paypal express and customer don't have option of choosing shipping option unless they decided to register with the site.
thanks.
-
Re: Canada Post module
Quote:
Originally Posted by
tony_sar
This is important , because , I have installed paypal express and customer don't have option of choosing shipping option unless they decided to register with the site.
Yes they do.
They will return to your site, where they can select their preferred shipping method. It is set by default to auto-select-the-cheapest method, but you can turn that off in your EC settings in your ZC admin.
But that's got nothing to do with CP. I'm not understanding your CP questions, and someone else will probably need to answer those for you.
-
Re: Canada Post module
There is expedited parcel service from Canada to the USA or within canada.
-
Re: Canada Post module
I am running ZenCart 1.3.9h with the Canada Post Shipping Module from about May, 2011. It has been running fine until today.
I had a new product staged for release today and found that I could not set the correct package dimension - they keep reverting to 12x12x12 cm.
Existing (older) products can be modified.
There have been no software changes installed.
Can anyone tell me what has occurred and how I go about fixing this?
-
Re: Canada Post module
Hi, need a little help with my Canada Post module.
I have everything setup, installed the files in their correct folders. All is working as in getting the shipping costs from Canada Post for the various shipping types.
The problem I am having is during checkout. When I am on step 1 of 3, I can select the shipping option I want. When click the continue checkout button it bounces back to step 1 of 3 and not going forward to step 2 of 3. When I use another shipping module like Zone Rates it continues on the step 2.
If anyone knows what could be causing this, it would be very much appreciated.
Thanks
-
Re: Canada Post module
Does anyone know if the the Canada Post module is v1.50 tested?
-
Re: Canada Post module
Hello drcubi,
It works for me on my website. Check the link below.
-
Re: Canada Post module
Hi, many thanks in advance for your help...
Does the Canada Post module do aggregate packaging so multiple products go into one box?
It is returning rates seemingly within reason for one product but make it ten items and it is 10 times as much.
This is rband new site ZC v1.5.0, CP = latest version
======
CP module Setup:
Enable CanadaPost Shipping = True
Enable Lettermail Rates = False
Max weight for Lettermail = 0.500
Table rates for Canada = 0.030:0.57, 0.050:1.00, 0.100:1.22, 0.200:2.00, 0.300:2.75, 0.400:3.00, 0.500:3.25
Table rates for USA = 0.030:1.00, 0.050:1.22, 0.100:2.00, 0.200:3.50, 0.500:7.00
Table rates for International = 0.030:1.70, 0.050:2.44, 0.100:4.00, 0.200:7.00, 0.500:14.00
Enter CanadaPost Server = sellonline.canadapost.ca
Enter CanadaPost Server Port = 30000
Enter Selected Language-optional = en
Enter Your CanadaPost Customer ID = CPC_xxx_xxx_xxx
Enter Turn Around Time(optional) = 48
Tax Class = GST on Shipping
Tax Basis = Shipping
Shipping Zone = --none--
Use CP Handling Charge System = False
Handling Charge per box = 0
Sort Order = 0
========
Admin Shipping Setup:
Country of Origin Canada
Postal Code V1V1V1
Enter the Maximum Package Weight you will ship 150
Package Tare Small to Medium - added percentage:weight 0:0
Larger packages - added packaging percentage:weight 0:0
Shipping Delay 2
Display Number of Boxes and Weight Status 3
Order Free Shipping 0 Weight Status 0
Shipping Estimator Display Settings for Shopping Cart 2
Display Order Comments on Admin Invoice 2
Display Order Comments on Admin Packing Slip 1
=======
SellOnline box setup:
72-42-12 box 30.000 0.500 72.0 42.0 12.0
60-60-19 30.000 0.500 60.0 60.0 15.0
50-40-20 30.000 0.400 50.0 40.0 20.0
38-32-15 30.000 0.400 38.0 32.0 15.0
38-32-8 30.000 0.500 38.0 32.0 8.0
36-36-20 30.000 0.400 36.0 36.0 20.0
35-35-10 30.000 0.300 35.0 35.0 10.0
32-21-10 30.000 0.300 32.0 21.0 10.0
32-31-24 30.000 0.400 32.0 31.0 24.0
25-21-20 30.000 0.400 25.0 21.0 20.0
21-20-15 30.000 0.300 21.0 20.0 15.0
19-8-2 30.000 0.150 19.0 8.0 2.0
15-15-8 30.000 0.150 15.0 15.0 8.0
15-10-5 30.000 0.150 15.0 10.0 5.0
Cube 12 30.000 0.150 12.0 12.0 12.0
==========
Thanks!
Robert
(now to figure out the UPS module!)
-
Re: Canada Post module
I think you need to set each product's setting for "Ships in its own box" to off if you want it to aggregate items into CP boxes instead of shipping separately in their own boxes.
-
Re: Canada Post module
Quote:
Originally Posted by
rocalink
...
Does the Canada Post module do aggregate packaging so multiple products go into one box? ...
Yes. As Dr B mentioned, don't check 'ships in own box' on the new product form.
When you give your product dimensions in Length, Width, Height, you need to define your boxes in the same sequence. ie a 10 x12 x 2 item will not compute as fitting into a 2 x 12 x 10 box.
When it calculates multiple items it stacks them with the Lengths, Widths and Heights in sequence, so a box that is 10 x 10 x 4 will accept 2 items that are 10 x 10 x 2 but it will accept no items that are defined as 2 x 10 x 10.
Also, with multiple items it will not figure things like - I can put in two items stacked plus one item on its side.
The trick is to define a bunch of boxes that will cover off your anticipated sample sales. This can be tweaked ongoing as your sales history unfolds.
One other thing about this mod - when I first installed back in zc 1.3.7 it was incompatible with the free shipping mod. However the CP mod allows you to set a free shipping threshold in your profile, if so desired.
This is a great, great mod!
-
Re: Canada Post module
Thanks Dr. Byte.!
Between this and soxophone, we have it covered for sure! We have more reasonable shipping prices now!
Quote:
Originally Posted by
DrByte
I think you need to set each product's setting for "Ships in its own box" to off if you want it to aggregate items into CP boxes instead of shipping separately in their own boxes.
-
Re: Canada Post module
Thanks Soxophoneplayer...
All is good now. Appreciate your clarification.
My change my handle to "pianoplayer" as that is more 'other profession'
:-)
-
Re: Canada Post module
I can't get lettermail rates to show in shipping estimator. I have the following setup:
Canada Post Shipping Module Settings
============================
Canada Post Parcel Service
CPC Profile Information can be obtained at http://sellonline.canadapost.ca
> Modify my profile <
Enable CanadaPost Shipping
True
Enable Lettermail Rates
True
Max weight for Lettermail
0.500
Table rates for Canada
0.030:0.61, 0.050:1.05, 0.100:1.29, 0.200:2.10, 0.300:2.95, 0.400:3.40, 0.500:3.65
Table rates for USA
0.030:1.05, 0.050:1.29, 0.100:2.10, 0.200:3.70, 0.500:7.40
Table rates for International
0.030:1.80, 0.050:2.58, 0.100:4.20, 0.200:7.40, 0.500:14.80
Enter CanadaPost Server
sellonline.canadapost.ca
Enter CanadaPost Server Port
30000
Enter Selected Language-optional
en
Enter Your CanadaPost Customer ID
CPC_XXXX
Enter Turn Around Time(optional)
5
Tax Class
GST on Shipping Class
Tax Basis
Shipping
Shipping Zone
--none--
Use CP Handling Charge System
False
Handling Charge per box
0
Sort Order
0
Admin/Configuration/Shipping-Packaging Settings
====================================
Country of Origin Canada
Postal Code M8V 3K1
Enter the Maximum Package Weight you will ship 50
Package Tare Small to Medium - added percentage:weight 0:0
Larger packages - added packaging percentage:weight 0:0
Display Number of Boxes and Weight Status 3
Order Free Shipping 0 Weight Status 0
Shipping Estimator Display Settings for Shopping Cart 2
Display Order Comments on Admin Invoice 2
Display Order Comments on Admin Packing Slip 1
Sellonline Shipping Module Box Settings
==========================
Priority Worldwide Pak 1.50 0.050 39.4 30.5 8.2
Kraft Box_18 5.000 0.340 38.1 30.5 9.5
lettermail_Service_1 0.500 0.010 25.4 16.2 2.0
Cushion_Mailer_Small 0.500 0.030 22.9 15.2 2.0
Cushion_Mailer_Large 0.500 0.030 40.6 26.7 2.0
Kraft_Box_24 5.000 0.340 42.0 31.0 16.0
Bubble_Mailer_Medium 0.500 0.030 27.9 21.6 2.0
Bubble_Mailer_Small 0.500 0.030 22.9 15.9 2.0
Bubble_Mailer_Large 0.500 0.030 38.1 26.7 2.0
Cushion_Mailer_Medium 0.500 0.030 33.0 24.1 2.0
Jersey Box 5.000 0.030 38.1 30.5 9.5
=============================
Any help would be appreciated.
Thanks,
Les McDonald
-
Re: Canada Post module
In addition to above post, I am testing a product with the following dimensions and weight: 10.16 x 8.89 x 0.16 and weighs 0.07kg. The estimator returns quotes for expedited, regular, expresspost, and store pickup.
-
Re: Canada Post module
-
Re: Canada Post module
Thanks for the response Dr. Byte, but I still don't understand what I need to change to get the lettermail to start showing.
-
Re: Canada Post module
I'm no expert on that topic.
But in theory if the product weight and dimensions fit within the weight/dimension limitations dictated by CP, then it would work. If your store is recalculating the weight or doesn't have the right dimensions, then it would be unsurprising for the option to not be presented.
-
Re: Canada Post module
Hi folks; I'm using ZC v1.3.9d with no changes made to the code recently.
Sometime over the last little while we've noticed that our American customers are only being offered the fairly expensive Xpresspost option for their packages. We sell items that range in size from tiny little bracelet charms to large, heavy hardcover books. No matter what the package size, or the weight, the only option available to various US addresses lately has been Xpresspost.
Packages destined for Canada or Australia, on the other hand, still have the full range of service options available to them: Priority, Expedited, Small Parcel etc. This makes me think it's not an issue with our package sizes at Canada Post's end or anything like that, since we're still getting the expected options offered for places that aren't the US.
To make things even weirder, I found an order dating back to the 4th of this month where a US customer managed to choose the Small Packet option for her purchase. I mimicked her order with my own store account, using her shipping address in my address book, and I was still only able to get the Xpresspost option.
I'm thoroughly baffled as to why this is suddenly happening. Can anyone tell me if there's a new package size restriction for items going to the states that may be limiting the available options? The thing is, when we bypass ZenCart and use our in-house shipping tools to see what kinds of shipping are available to our customers, we get the full range of options that the ZenCart shop isn't displaying.
Any pointers would be greatly appreciated. We've been double-checking the weights of our items and the sizes of our packaging and can't spot any problems there. Thanks much.
-
Re: Canada Post module
Nevermind - I just found the issue. I logged into Canada Post's Sell Online area and discovered under "Shipping Services" that all the previously-available options for US shipping had mysteriously un-checked themselves. :frusty:
Hope this helps someone else!
-
Re: Canada Post module
Good day, Everybody,
I installed Canada Post module. I am not sure if it is installed properly but Canada Post option appears in the shipping options.
My suspicion that the module is not installed properly comes from the fact that when I am inserting a new product I am not seeing any requests to provide dimensions of the product. Also I do not see that the weight of the product is measured in kgs.
I hoped that this all might be cured by establishing a connection with Canada Post server. Unfortunately, the server was down, and I could not set up my account with Canada Post. This is yet another concern for me - if the server is down regularly and for long time why to install Canada Post module at all?
Please help me to verify that the module is installed properly and is functioning properly. Also, I would appreciate your comments on reliability of Canada Post server.
Thank you.
-
Re: Canada Post module
If the dimensions fields aren't showing in your admin when editing your products, then you didn't upload the module's new /admin/includes/modules/*.php files to replace your existing ones.
And remember: the /admin/ folder in the zip must be matched to the /your-renamed-admin-folder/ on your server ... whatever you called it.
-
Re: Canada Post module
Thank you, Sir,
That was spot on 100% correct.
-
Re: Canada Post module
Just wanted to say that the module covered in this thread works great in Zencart 1.5.1
http://www.zen-cart.com/downloads.php?do=file&id=4
The site still shows it for version 1.5.0 but that version works well on version 1.5.1
signing up with Canada Post's "Sell Online" service is easy enough but not necessarily obvious on the Canada Post site. Once you have signed up for it and receive your merchant code things work as advertised.
Thank you Dr. Byte.
-
Re: Yes! Set it up by weight
I've seen a couple of posts about the discontinuation of SellOnline and the last of a shipping module for the new Canada Post web services. Someone created a module for osCommerce - I'm hoping someone with a bit of skill may be able to port that to ZenCart? :)
SellOnline has some serious limitations that the new web service does not have (such as actual dimensional quotes rather than having to pre-define boxes etc)
The osCommerce module is at: http://seanzhuang.wordpress.com/2012...1/#comment-305 if someone wants to take a look.
:)
-
Re: Canada Post module
Does this module support attribute dimensions?
-
Re: Canada Post module
I have a situation where the module has been updated , so does zencart, but for some reason when adding a piece, in stock, in my cart and trying to see when it would ship out. The estimator gives me 2 weeks of postage. I did a test with my stores adress and I still got two week shipment for something that is in stock.
Any idea of what could be causing this estimated delay?
-
Re: Canada Post module
Hi, I have an issue whereby I have some products that are shipped, and some that are downloaded. It seems that if a customer buys a shipped product the CPC module works fine. If they order only downloadable products then everything is fine. However if a combination of shipped and downloadable products are ordered, shipping gets applied to the downloadable items. This is my first zen cart site, so perhaps I have an incorrect setting somewhere.
Has anyone had experience with this?
Thanks
Dave
-
Re: Yes! Set it up by weight
Good day,
I have installed the Canada Post Shipping Module on a freshly-installed copy of Zen Cart to see if this "XML Parsing Error" that I am getting with my modified copy of Zen Cart manifests. It does indeed, I'm sorry to report. So it must be a wee bug in the CP Shipping Module. Everything else with the module works absolutely flawlessly, and I'm really impressed with the software! Now if I can just get this one fair problem solved we'll be all set. Here's my vitals:
Zen Cart: v1.5.1
PHP: v5.3.28
MySQL: v5.5.33-31.1
Server OS: Linux 3.2.54
HTTP Server: Apache
The error only happens when shopper tries to purchase a product (or products) which has the 'Always Free Shipping' value set to 'Yes' in Admin > Catalog > Categories / Products. The error goes away by simply adding another product to the cart which has the 'Always Free Shipping' value set to 'No'.
It seems the Canada Post Shipping Module is slightly stumbling in communication with the Canada Post servers when shipping is free for a product.
Could a kind soul please offer some insight, and perhaps even a solution, please? :smile: I would be eternally grateful! This is the only issue I'm having with the entire setup.
Thank you very much,
Darren
-
Re: Yes! Set it up by weight
Quote:
Originally Posted by
ThomasJJ
It seems the Canada Post Shipping Module is slightly stumbling in communication with the Canada Post servers when shipping is free for a product.
As I think about it more, perhaps it's unrelated to outside communications and the module simply needs to be tweaked to not appear on the checkout pages when shipping charges are not applicable whatsoever? That makes more sense to me. I wish I had the expertise to correct the code, but sadly I do not. Hope someone can assist me with this issue. Again, thank you very much.
-
Re: Yes! Set it up by weight
Quote:
Originally Posted by
ThomasJJ
As I think about it more, perhaps it's unrelated to outside communications and the module simply needs to be tweaked to not appear on the checkout pages when shipping charges are not applicable whatsoever? That makes more sense to me. I wish I had the expertise to correct the code, but sadly I do not. Hope someone can assist me with this issue. Again, thank you very much.
Check to ensure that you have the Zen-cart 'freeshipper' module enabled.
Cheers
RodG
-
Re: Yes! Set it up by weight
Is there any update to this Canada Post Mod for Zen Cart 1.5.3?
-
Re: Yes! Set it up by weight
As I see that the canada post mod is only for 1.5.0 but i'm using 1.5.3
How do you get this mod working with 1.5.3? As I have uploaded the files but as the document says that I might overwrite some stuff of the files and not sure if this is wise or not.. But the store works get the rates and send it in.. but i know this isn't right..
Can anyone help me out on this matter thanks
-
Re: Yes! Set it up by weight
I've done an update here: http://www.zen-cart.com/downloads.php?do=file&id=4
NOTE: Apologies, but it's had very limited testing. I'm in the middle of a bunch of other things and my head is distracted. Feedback welcome.
-
Re: Yes! Set it up by weight
Thanks for this..
But I have no clue how to test out to make sure that Its working.. can anyone verify the work done.
This is really appreciated DrByte
-
Re: Yes! Set it up by weight
I'm using ZC 1.5.1, fresh install (FTP), it has two templates, Ty Package Tracker, graphical sales report installed, ckeditor, and Canada Post. The server is running Litespeed, PHP Version: 5.4.24, and MySQL 5.5.37-cll.
There are no errors generated in the log files by this issue.
After installing the Canada Post module, and enabling it on port 30000, it seems to connect to Canada Post (I set up my boxes there as well), but it only gives me Expedited and Regular as shipping options, with Standard having either the same price or a higher price.
I've re-installed it (the entire store as well as re-installing the module) with the same results.
Any idea where I can go from here would be appreciated.
-
Re: Yes! Set it up by weight
Good Day
I have installed the Canada Post module with the proper venture ID and I am getting quotes. My problem is my product dimensions default to 12 X 12 X 12. I can't change it in the product editor but I can change the weight. Any Ideas out there?
-
Re: Yes! Set it up by weight
In your admin -> catalog -> categories/products -> select product category -> select product to edit
At the bottom of the page, it shows you where to input your dimensional values (for each product).
If necessary, here is the file to change -> admin/includes/modules/product/collect_info.php
Hope that helps,
-
Upgraded to Canada Post Module 1.5.3 Not Getting Quotes
I upgraded to the Canada Post Module 1.5.3., and now do not receive quotes from Canada Post. I checked with HostMonster to check that port 30000 was still open and they confirmed it was. I receive quotes from FedEx and UPS, but not CP. Just wondering what I can do to rectify this problem?
Running ZC 1.5.3
PHP 5.4
Any help would be appreciated.
Thanks,
Les McDonald
-
Re: Upgraded to Canada Post Module 1.5.3 Not Getting Quotes
Hello Les,
I've upgraded and it's working for me.
Are you still having problem?
-
Re: Upgraded to Canada Post Module 1.5.3 Not Getting Quotes
How do I make this compatible with 1.5.4 please (just before I install it)
-
Re: Upgraded to Canada Post Module 1.5.3 Not Getting Quotes
Hi,
I have installed this module on my zencart 1.5.3 and seems it works fine with demo customer id (CPC_DEMO_XLS).
The question is if it's possible to use the module with latest Canada Post API keys (username : password)?
Unfortunately, they do not provide CPC merchant ID any more.
Thanks
-
Re: Upgraded to Canada Post Module 1.5.3 Not Getting Quotes
Be aware this prerequisite is absolutely necessary:
You need to work with your web hosting service and ask them to ensure that port 30000 is open on the server's firewall.
**If this port is not open for incoming and outgoing traffic, then your CP online quote requests will not work. (110-Connection Timeout)**
-
Re: Upgraded to Canada Post Module 1.5.3 Not Getting Quotes
Quote:
Originally Posted by
Podsolnuh
Hi,
I have installed this module on my zencart 1.5.3 and seems it works fine with demo customer id (CPC_DEMO_XLS).
The question is if it's possible to use the module with latest Canada Post API keys (username : password)?
Unfortunately, they do not provide CPC merchant ID any more.
Thanks
You have to have a Canada Post username and a customer number, then you have to contact them to get a Merchant Retail ID # (CPC_YOUR_STORE)
-
Re: Yes! Set it up by weight
Do Canada Post module work with zen1.5.4 too ??
Thanks in advance
-
Re: Yes! Set it up by weight
I installed Canada Post 1.5.3 mod with zc 1.5.4. I found 3 core files from zc 1.5.4 that were different from zc 1.5.3, so I merged only the Canada Post code sections on those files, by first comparing the the Canada Post mod to the zc 1.5.3 files, then merging only those differences into the zc 1.5.4 files.
admin/incl/mod/copy_to_confirm
admin/incl/mod/update_product
incl/classes/shopping_cart
The rest of the files were straight merges.
Has been working for me.
-
Re: Yes! Set it up by weight
Quote:
Originally Posted by
soxophoneplayer
I installed Canada Post 1.5.3 mod with zc 1.5.4. I found 3 core files from zc 1.5.4 that were different from zc 1.5.3, so I merged only the Canada Post code sections on those files, by first comparing the the Canada Post mod to the zc 1.5.3 files, then merging only those differences into the zc 1.5.4 files.
admin/incl/mod/copy_to_confirm
admin/incl/mod/update_product
incl/classes/shopping_cart
The rest of the files were straight merges.
Has been working for me.
I was not that lucky. I did exactly what you did (also using zc 1.5.4) but now when I click on Add to cart button it doesn't add the product to the cart. I rolled back the changes and the Add to Cart button works again. Not sure what I am doing wrong.
-
Re: Yes! Set it up by weight
Quote:
Originally Posted by
jarmilka
I was not that lucky. I did exactly what you did (also using zc 1.5.4) but now when I click on Add to cart button it doesn't add the product to the cart. I rolled back the changes and the Add to Cart button works again. Not sure what I am doing wrong.
Upps, figured it out. I overwrote includes/classes/shopping_cart.php, should have used the zc 1.5.4 version.
-
Re: Yes! Set it up by weight
I am using zc154, and I have the Tableau template installed. When trying to get Canada Post to return quotes nothing shows. I have contacted Hostmonster and they assured me that Port 30000 is open.
Any help would be appreciated.
Thanks.
-
Re: Yes! Set it up by weight
Quote:
Originally Posted by
llmcdonald
I am using zc154, and I have the Tableau template installed. When trying to get Canada Post to return quotes nothing shows. I have contacted Hostmonster and they assured me that Port 30000 is open.
Any help would be appreciated.
Thanks.
We need more info than this. Please reply to this message and read the 'posting tips'.
In addition to this (since you mentioned a template), does the problem go away if you revert back to the default/classic template?
Cheers
RodG
-
Re: Yes! Set it up by weight
I have tried going to the default/classic template with no luck. I even tried to do a fresh install of ZC154 with no other modules installed other than the Canada Post Module 1.5.3 version.
I have contacted Hostmonster, Canada Post, and my ISP to see if the port is blocked or the IP address is being blocked and each one says there is nothing else they can do.
I am at a dead end.
I even switched to another ecommerce program with their version of Canada Post module, but still the same result.
The only other option is trying a different webhoster to see if that was the problem.
-
Re: Yes! Set it up by weight
Quote:
Originally Posted by
llmcdonald
I even switched to another ecommerce program with their version of Canada Post module, but still the same result.
All i can do is take a guess and suggest that you don't have things correctly setup on the Canada Post side of things. Heck, based on the lack of information your problem could be that you don't even have an account set up with them at all.
Furthermore, I just scrolled down a a few messages to post#241, which reads
Quote:
"Nevermind - I just found the issue. I logged into Canada Post's Sell Online area and discovered under "Shipping Services" that all the previously-available options for US shipping had mysteriously un-checked themselves. :frusty:
Have you checked for this possibility?
Do your log files provide any clues?
Rgds
RodG
-
Re: Yes! Set it up by weight
Is there going to be an update to the Canada Post module for ZC 1.5.4?
-
Re: Yes! Set it up by weight
I have logged into my sellonline account and everything is checked. I can't find anything in the error logs.
-
Re: Yes! Set it up by weight
Canada Post updated their servers this weekend and the module is no longer working (at least on my page). Does anybody else experience the same problem?
-
Re: Yes! Set it up by weight
Same here - after the Canada Post System update this past weekend (Aug 21-23). The Canada Post module isn't working for me either.
-
Re: Yes! Set it up by weight
Same here. Canada Post not working.
Dave
-
Re: Yes! Set it up by weight
It's not working for me either. I'm kinda dead in the water without it. :(
-
Re: Yes! Set it up by weight
I have set up my shipping for a zone rate right now until the Canada Post module gets working.
This may help you keep going in the short term.
Dave
-
Re: Yes! Set it up by weight
Thanks. I've done something similar with Table Rates and put a disclaimer on the shipping page. Inelegant, but I'm back in business (sort of)
Any idea when this might be resolved?
Max
-
Re: Yes! Set it up by weight
Also dead in the water after Canada Post's update this past weekend... So any ideas?
-
Re: Yes! Set it up by weight
Checking the canada post developper forum, it looks like other carts are also experiencing problems with errors and no results, with no real solution in sight.
-
Re: Yes! Set it up by weight
I have a fix! :D :cool:
for everyone who knows how to change the PHP code.
Go to /includes/modules/shipping/canadapost.php line 330 and replace the _sendToHost function with this:
function _sendToHost($host, $port, $method = 'GET', $path, $data, $useragent = 0)
{
$url = 'http://'.$host.':'.$port.'/' ;
$params = array ('XMLRequest' => $data);
$query = http_build_query ($params);
$contextData = array (
'method' => 'POST',
'header' => "Connection: keep-alive\r\n".
"Content-Type: application/x-www-form-urlencoded\r\n".
"Content-Length: ".strlen($query)."\r\n",
'content'=> $query );
$context = stream_context_create (array ( 'http' => $contextData ));
$buf = file_get_contents ($url, false, $context);
return $buf;
}
Look at cryptocoins like bitcoin or ethereum. If you like to blaze weed check out the hemp coin or pot coin. They're the future of the world.
Take your ecommerce store into the future with crypto. No fees + contracts for more complex types of ordering.
-
Re: Yes! Set it up by weight
Thanks cryptocoins. Tried. Tested on my site. Works.
I did notice that my sellonline settings seemed to be changed after CanadaPost software update, adding choices that I had unselected, which I easily reset through the mod edit screen.
-
Re: Yes! Set it up by weight
If you need me to fix this in your cart, send me a private message on here.
I will charge 0.001 BTC, 0.1 ETH or 1 POT. I do not accept CAD $ payments for my skills.
-
Re: Yes! Set it up by weight
Good work Cryptocoins! you made my day :D
-
Re: Yes! Set it up by weight
That fix didn't work for me.
I just tried it and Admin/Shipping went blank except for the Advanced Shipper module that I use for U.S. shipping. There were no other modules showing. The Shipping Estimator on the shopping cart page didn't work and the checkout was just blank.
Any suggestions?
Dave
-
Re: Yes! Set it up by weight
Thank you for the fix cryptocoins.
Received this from Canada Post, not sure if it means that we should change the "Enter CanadaPost Server" in the module to: 198.33.104.28.
Dear Customer,
As a result of a major upgrade completed on the weekend, the IP address for Sell Online (sellonline.canadapost.ca) has been changed to 198.33.104.28. If your IT department has firewall rules restricting incoming IP addresses, you must update any firewall restrictions to allow the new returning IP address on port 30000. You may need to contact your firewall administrator for assistance.
If your firewall is allowing communication with our new IP address, you might still be experiencing issues. We are working on a known issue for customers using TCP instead of HTTP protocol. We will let you know as soon as we have a solution for this issue.
Stabilization issues resolved
You may have experienced some slowdowns with the Sell Online web service Monday as our systems stabilized. We have resolved these issues. Thank you for your patience.
If you have any questions, please contact us through our Developer Forum by signing in to the Developer Program.
Sincerely,
The Canada Post online team
-
Re: Yes! Set it up by weight
thanks for the info cryptocoins. It worked like a charm. you just need to modify your php code. the email that canada post sent out is not going to help you. I left all setting the same on the zencart shipping module but changed the php code on line 330 of /includes/modules/shipping/canadapost.php
-
Re: Yes! Set it up by weight
Quote:
Originally Posted by
jarmilka
Received this from Canada Post, not sure if it means that we should change the "Enter CanadaPost Server" in the module to: 198.33.104.28.
No.
Using an IP address instead of a hostname should only ever be considered in very limited situations - such as the few hours after an IP address has been changed and the time it takes to propagate through the DNS. In other words, almost never.
It is far better to leave alone until things start to correctly resolve again.
Cheers
RodG
-
Re: Yes! Set it up by weight
Thanks Cryptocoins. I`m back in business.
The checkout pages that deal with shipping are now really slow to load, but I gather Canada Post in continuing to work on issues.
Cheers,
Max
-
Re: Yes! Set it up by weight
I'm sure Cryptocoins has good intentions, but I'm reluctant to use just anybody's code for security reasons.
-
Re: Yes! Set it up by weight
Quote:
Originally Posted by
thebeadyeye
I'm sure Cryptocoins has good intentions, but I'm reluctant to use just anybody's code for security reasons.
I'm not sure how it differs from the original, but the code in post#284 looks quite safe.
Cheers
RodG
-
Re: Yes! Set it up by weight
Canada Post:
"We are working on a known issue for customers using TCP instead of HTTP protocol. We will let you know as soon as we have a solution for this issue."
The code I wrote connects to Canada Post using the HTTP protocol. The old code with fsockopen uses TCP. It sounds like Canada Post is working on a solution if you can wait for them.
-
Re: Yes! Set it up by weight
Hello Cryptocoins,
Thank you!
Fix works well.
Have a wonderful year!
-
Re: Yes! Set it up by weight
I received and ignored same email from Canada Post. I tested the hack from cyptocoins and it worked. Also had orders go through with no problem since.
-
Re: Yes! Set it up by weight
Quote:
Originally Posted by
RodG
I'm not sure how it differs from the original, but the code in post#284 looks quite safe.
Cheers
RodG
Ok, I'm not good at all with code so I tend to be on the cautious side. Was the fix for just the latest version of zen cart? I really have to update my cart, I'm still using v1.3.9h. I guess I could just back up the file and try the fix.
-
Re: Yes! Set it up by weight
I could not seem to get it to work. Apparently, I did not edit the code correctly. The posting says where to start but not where to start. I don't know how to code. Can you tell me how much code to replace.
Dave
-
Re: Yes! Set it up by weight
Quote:
Originally Posted by
top hatt
I could not seem to get it to work. Apparently, I did not edit the code correctly. The posting says where to start but not where to start. I don't know how to code. Can you tell me how much code to replace.
Dave
Replace everything from/including lines 330 to 359.