Ok. That's what I thought.
Just tried it again. Still no luck.
Dave
Printable View
Ok. That's what I thought.
Just tried it again. Still no luck.
Dave
I haven't used the patch, but the shipping module is now working. Maybe Canada Post did something on their end.
Not really, it is a temporary fix, below what I got from CanadaPost:
Good Afternoon Z........,
Yesterday afternoon we made a temporary change to our infrastructure to allow customer websites to function with Sell Online.
The eStores from your incident should be functioning OK right now.
There is an issue coming however; we implemented a temporary change will be rolled back in time.
As I noticed from your incident many of the customer sites use ZenCart – and the developer forum for Zen Cart has a fix that works when we roll back.
Please see this URL:
https://www.zen-cart.com/showthread....ht=canada+post
The OpenCart product is different and I have not seen a solution for it yet.
Can you confirm that the sites you reported are currently working, and provide them with the ZenCart forum (it will be needed when we revert our change.)
Thanks
and then After my reply I received another one:
Canada Post should be sending out a notification prior to when we revert our temporary fix.
We will be providing them a timeline and text so I’m sure you have about a month before this comes along.
Please ensure you have an email added to you Sell Online account as that is what we use for communications and if it’s missing we don’t have any way to track them down.
If you are switching your stores to Open Cart and Presta Shop – take a look at the developer forum on Canada Post web site.
I would recommend using those web services for shipping instead of this much older Sell Online.
Here is the URL for the developer program: https://www.canadapost.ca/cpotools/apps/drc/home
Thanks
I am posting above two messages as I believe a lot of you are frustrated want to get rid of this major issue.
A wise idea would be to enable shipping table in case of similar disaster, it will permit your customers to check out and you won't lose money (maybe some if the weight is not accurate)(I am using a weight based table from Canada to Canada and USA, was hard to me to figure out table for international shipping. Will work on it soon based on my experience.
I have 4 webstores based on Zen Cart: (www.Crystalstrass.com) (www.Crystallightingparts.com) (www.Chandelierspareparts.com) (www.Crystallampparts.com) and one based on OpenCart (www.roklight.com/webstore)
As of 3:30PM today the Canadapost module is down again. I called Canadapost and opened a ticket with sellonline support, still waiting for a callback. Anybody experiencing any problems? The fix from Cryptocoins from 2 pages back was working fine for 2 weeks, now are it again? or they are at it again? If anybody has any updates please let us know.
Have same problem. When add item to cart the web site churns and churns and doesn't bring up post options. This is with the former hack from Cryptocoins removed. I tried replacing with the hack and it doesn't work for me this time (it did last C Post breakdown). Now adding item to cart generates blank page, breaks cart.
I haven't had any email from Can Post. (Also didn't receive the notes in #308 - my email may have changed since starting sellonline account but I have been unsuccessful finding a place where I can change that info.)
Getting very frustrated with Canada Post!
Experiencing same issue now, a workaround was using zone rates module, it is not accurate but it generate sales.
I am using it for US and Canada, but don't have data for International Shipping.
Remark: To get rid of the freezing site, you have to turn off canadapost module (Do not uninstall)
I'm getting the same issue as well, just grinds away... even with the hack from Cryptocoins.
I've put up tables for the moment, but I really hope Canada Post gets its act together. It's very unprofessional to have such a large amount of downtime. Could they not have rolled their updated server out in a test environment first? maybe privately contact clients using different shopping cart software/platforms to try a beta test of sorts...
Yes, indeed, it works with the modified (cryptocoins) version of the canadapost.php as well.
As of today, I'm getting gateway timeouts on canada post's site and neither code is working :) I thinking it's on CP's end but if anyone can confirm that would be helpful.
Thanks.
Mine appears to be functioning ok. Put an item in cart and got quick selection of CP options. Didn't take it thru checkout. I did have a wonky the other day when CP went down I tried adding the hack and then removing it. I accidentally hit and extra key at some point so there was an extra character in my code which wonked it up. Found the error in logs.
Canada Post is working at my end without the patch.
What version of ZenCart are you using? I'm still using 1.3.9h ... wonder if that's part of the problem (maybe that version of the CP module won't work, but the newest will) ... I might have to upgrade my site (which is another entire worry).
Thanks for any info/help :)
Hello dunedon,
I'm using V1.5.4.
Try a fresh install of canadapost.php and upload it to /includes/modules/shipping
I am getting the connection timeout error. I have tried the hack with no success. I have tried a fresh install of canadapost.php, a fresh install of the entire mod, and a fresh install of the mod on a fresh install of ZC 1.5.4. Nothing works. Is anyone else having similar problems with Canada Post now?
I used this mod for 6 or 7 years without a problem. Indeed, the CP module with dimensional shipping was the reason why I switched to ZC from another ecommerce package way back when. Implementing zone and table rates would be cumbersome and inaccurate, so I hope that Canada Post hasn't created a permanent problem.
I've been going round and round trying to solve this issue for 8 or 9 hours now and I'm starting to feel like an idiot... So I'm reaching out to see if someone can point me in the right direction.
I cannot, for the life of me, figure out what I need to change so that the CP Shipping Module groups all products into one box. Currently, it's returning quotes for each item of the order to be shipped in it's own box, separately.
In my searching, I have found multiple posts from 2008-ish about a "item ships in original box" checkbox when editing or adding a product -- but I'm not able to find this box anywhere, so it makes me wonder if the setting I'm looking for has moved or changed since then? Any help at all is immensely appreciated.
- Zen-Cart v1.5.3 (with the Authorize.Net module from v1.5.4) with the latest version of the CP Module.
- PHP v5.3.29
- MySQL v5.1.55-rel12.6
Hello,
Make sure ready to ship is not check on the product pages.
Go to Module and click on Shipping in Admin.
Select the Canada Post Module. Click on Modify my profile.
Log in with your user name and password.
Select Add/Modify/Delete Boxes
Add your boxes.
Then Log out when you are finished.
--------------------------------------
Make sure Ready to ship is un check on your product pages.
Products Shipping Weight: 0.125
Select Weight Units: kgs
Select Dimensional Units: cm
Length 17
Width 10.40
Height 1.60
Ready to Ship [Do Not Check This Box] Item ships in its original box? (ie: will not be combined in another box for shipping, and no additional packaging costs to be added)
Hrm... well I guess I found the issue. My 'edit product' page does not show these extra fields -- and in fact, seems to be missing the actual DEFINE text for the various items onscreen. I would say something went awry when I originally installed, I will start the process of a full clean install (not going to be fun, but it seems the only solution at the moment).
Thanks for the help Royal! Saved me a bunch of time trying to debug the issue on my own.
Thanks again for the assistance Royal, after the reinstall everything is running as expected.
Next question. I'm trying to find a solution to make ShipStation work with this plugin and am curious if anyone knows how to access the Box Size that the Canada Post Plugin chooses for the quote? We have 20+ boxes setup in our CP web tool and currently have no idea which box size the shipping quote is for.
The Canada Post plug in seems to have stopped working (again). At checkout I'm getting :
"An unknown error occured with the Canada Post shipping calculations. If you prefer to use Canada Post as your shipping method, please contact the Ravenvision Orchid Supplies via Email."
It means that people cant complete the checkout.
And my store is really slow.
Something similar happened earlier this year, but CP fixed it.
Anybody else experiencing this and/or have a suggestion?
Frustrated,
Max
www.ravenvision.ca
I've done some more digging. The Plug-in and Canada Post do seem to be talking to each other. The problem came from the number of items in the cart.
A customer informed me of the error. She was unable to complete her purchase as the shipping calculator was throwing an error. When I recreated her order, I got the same error. It seems to have something to do with the quantity of items. Some of are products are quite small and she wanted 200 of one (2 inch item ) and 100 of another (4 inch item). When I reduced the quantity, the error went away. I tweaked the quantities to find the point where the error occurs. This would work: 200 small and 3 larger. So would this 48 small and 200 large. Even these large quantities made the whole order only way 4 kg so excessive weight is not the problem.
Other things I did:
- In my Canada Post profile, I created a huge box that should easily hold the order. (presuming the CP starts using the new box right away) That didn't help.
- I tried reducing the size of the product on the product information page (making them virtually flat), but that also didn't help.
It has left me a little perplexed. Are there other factors besides weight and size of product and size of box? Why should it be limited at all?
Also, I must say, it seems to take a very long time for Canada Post to come up with its shipping estimate. My experiments took hours.
Any insights?
Thanx in advance.
Max
I've been having issues this past week with the Canada Post shipping module.
Basically, it suddenly has stopped returning results for Priority shipping.
It'll return rates for Xpresspost, Expedited, Small Packet and Tracked Packet. Just suddenly , with no changes made on my admin side and no setting changes made in my sellonline profile/options, it won't return Priority rates for USA customers.
Is there a way to see if Canada Post made yet more changes on their server to end up messing up results?
Ok, So when I asked on the Canada Post forums https://forums.canadapost.ca/forum/p.../0/106217.page
Apparently they're no longer supporting SellOnline...
So is there any new Canada Post module in development that connects to whatever they decided to switch to?
If they are indeed phasing out their sellonline system for some other system, it's only a matter of time until the current Canada Post shipping module breaks down completely as sellonline disappears.
After speaking with Dr.Byte, I've contributed $100 usd towards the development of a new Canada Post module to connect to Canada Post's new system.
I'd like to encourage other Canadian Zencart users to contact DrByte to offer up something, to add to the pot, to help make this module a priority for him, considering how it's falling apart and will eventually die completely.
Canada Post is the go-to low-cost shipping solution to Canadian businesses shipping to the USA, and it's in everyone who uses this module's best interest to make sure that this gets developed sooner rather than later, lest we be stuck shipping with expensive options like UPS or FedEx or stuck manually setting up tons of tables that are never completely accurate.
Im having the same issue with opencart, just wondering if there was an update on this?
Thanks for the reply, i suppose that was a little vague :)
But it was referring to the last comment, about priority shipping no longer working with sellonline.
So i've been having this problem with the CP module taking a very long time to calculate shipping. I don't see Canada Post fixing this issue any time soon, so I was contemplating going to a flat rate shipping model. Only problem is, I would like to keep lettermail rates since a bunch of my more popular items are rather tiny.
Now, here's my question....
Has anyone mucked around with this modules' code to disable the parcel calculations and only calculate the lettermail table rate.
It all works with calculating those dimensions that fit in the envelopes that you set up on the SellOnline website.
Another thought, are there any other shipping modules that work with item dimensions similar to the CP shipping module?
Just wondering if others are having issues with this module not working. For backup I've reverted to flat rate shipping. If there's an estimated time when a new module will be created, I would not mind pitching in money to help things move along faster.
The Canada Post module is still not returning results for Priority to the USA or Elsewhere. Thankfully it's still producing Xpresspost, Expedited, Tracked Packet and Small Packet rates. It's only a matter of time before SellOnline stops functioning.
A new CP module is still underway with Dr.Byte working on it, if you want to contribute anything to him, just send him a message.
CP is no longer providing support for SellOnline, and is pushing its new REST/SOAP platform. https://www.canadapost.ca/cpotools/a...execution=e1s1
So Dr.Byte has had to start a new CP module from scratch instead of simply patching the old module, not to mention having to re-code all the "tetris" functionality of the previous module to have dimensions of items fit properly into defined boxes, have to deal with new stuff like a dispatch date that needs to be defined, among everything else.
I'm having trouble with it returning results altogether. Im getting my server admin to verify if there were changes this Friday but on my configuration side nothing else has changed.
I'll reach out to Dr. Byte and see what's happening with the new module. Hopefully it's finished soon.
The Sellonline servers have been offline now for 2 days. Anybody knows if these will come back?
I installed this mod on ZC 1.5.5a... with Ceon Mapping SEO installed. I get shipping quotes, not really accurate but I can work with what shows for now waiting for the new mod... however, there is a glitch, if I have virtual products in my cart only, I don't get a shipping quote which is perfect. If I have only items to be shipped, the quote comes fine. If I add a virtual product to my cart when there is a physical item to ship, the shipping quote changes.
For example, I have a roll of paper in my cart, the quote is 16.26$ but when adding the virtual product I get a quote at 32.12$ when it should remain the same.
I've redone the install twice thinking I might have missed a step but no luck.
phpMyAdmin
•Version: 4.0.10.14, dernière version stable : 4.4.15.7
Database: MySQL 5.5.49
I should add that I have another site hosted on the same server with ZC 1.5.1 and Ceon and Canada Post and don't have that issue at all there.
Thanks for any input
I haven't studied the Edit Orders plugin code, but I do know it changes the code for processing shipping quotes and calculating order totals. If that's the primary difference between the sites, then perhaps it's got a bug?
Hi guys!
My module is (now) working well, but I encountered a situation: no matter how many choices I select on Canada Post side's (4 available), I only get 2 choices in my Canada Post shipping options in the cart...
How can I change that? I want them to be all available...
Thanks a lot!
I have searched all over to forum as best as I could but I couldn't find an answer to my problem.
A month ago, my Canada Post shipping module was able to calculate rates instantly and accurately. Then suddenly it stopped working
I have tried to apply the patch from this thread comment #284 https://www.zen-cart.com/showthread....-module/page29
I have tried testing this on the most recent v1.5.5a (previously using v1.3.9h) and it doesn't work on both
I have made sure my hosting opened port 30000
I have the IP address for Sell Online (sellonline.canadapost.ca) changed to 198.33.104.28
Is there anything else I am missing that I should try?
www.thelittlestgiftboutique.com is the website if anyone wants to take a look.
Thanks so much
Dr Byte - Does this module work with 155b? Or is there a replacement?
I see some comments about possible/close with incentive, which is available too. We normally have done flat-rate within Canada - 40+/day, but even for comparison, I'd love to have the option for alternate ratings, for our non (close to zero) weight products!
Dan
Is there any chance we can get an update for v1.5.5b? We are upgrading our old site from v.1.3.9h to the latest and we really really need this plugin. Anyone able to get it to work with the new version? I installed it and the estimator doesn't display the Canada Post rates.
I'm using it (whichever was the last version offered on the plugins page) with 1.5.5b. My understanding from other posts is that 'courier' choice of shipping no longer functions because of changes made by Canada Post. I never used that option so not an issue for me. The estimator works for me as does the shopping cart calculations. I didn't do any customizing for 1.5.5b other than the same merges with zc files that I've made since zc 1.3.7. In addition, the mod plays nice with the new (amazing) One Page Checkout mod.
Also noted from other posts on this forum that Canada Post has new api and hopefully this mod will be updated accordingly, but in the meantime I'm grateful that it continues to work for me.
Never mind, it seems to be working now :).
It might of been Canada Post that was down since it was 1 am on a Sunday. This mod is absolutely necessary for our business, so it's a big relief.
Can I still use Canada Post module after upgrading to 1.5.5b?
I tried to merge the files manually and everything was simple until I reached
canada_post_shipping_module_1_5_3/admin/includes/modules/copy_to_confirm.php
where there is a merge conflict at line## 86-86 of the vanilla 1.5.5b.
Here is my copy of my merged admin/incl/mod/copy_to_confirm: (I'm using zc 1.5.5d but the vanilla file is same as 1.5.5b).
Code:<?php
/**
* @package admin
* @copyright Copyright 2003-2016 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: Author: DrByte Thu Jul 16 20:18:12 2015 -0400 Modified in v1.5.5 $
*/
if (!defined('IS_ADMIN_FLAG')) {
die('Illegal Access');
}
if (isset($_POST['products_id']) && isset($_POST['categories_id'])) {
$products_id = zen_db_prepare_input($_POST['products_id']);
$categories_id = zen_db_prepare_input($_POST['categories_id']);
// Copy attributes to duplicate product
$products_id_from=$products_id;
if ($_POST['copy_as'] == 'link') {
if ($categories_id != $current_category_id) {
$check = $db->Execute("select count(*) as total
from " . TABLE_PRODUCTS_TO_CATEGORIES . "
where products_id = '" . (int)$products_id . "'
and categories_id = '" . (int)$categories_id . "'");
if ($check->fields['total'] < '1') {
$db->Execute("insert into " . TABLE_PRODUCTS_TO_CATEGORIES . "
(products_id, categories_id)
values ('" . (int)$products_id . "', '" . (int)$categories_id . "')");
zen_record_admin_activity('Product ' . (int)$products_id . ' copied as link to category ' . (int)$categories_id . ' via admin console.', 'info');
}
} else {
$messageStack->add_session(ERROR_CANNOT_LINK_TO_SAME_CATEGORY, 'error');
}
} elseif ($_POST['copy_as'] == 'duplicate') {
$old_products_id = (int)$products_id;
// CANADA POST changes below:
$product = $db->Execute("select products_type, products_quantity, products_model, products_image,
products_price, products_virtual, products_date_available, products_weight,
products_weight_type, products_dim_type, products_length, products_width, products_height,
products_ready_to_ship,
products_tax_class_id, manufacturers_id,
products_quantity_order_min, products_quantity_order_units, products_priced_by_attribute,
product_is_free, product_is_call, products_quantity_mixed,
product_is_always_free_shipping, products_qty_box_status, products_quantity_order_max, products_sort_order,
products_price_sorter, master_categories_id
from " . TABLE_PRODUCTS . "
where products_id = '" . (int)$products_id . "'");
// fix Product copy from if Unit is 0
if ($product->fields['products_quantity_order_units'] == 0) {
$sql = "UPDATE " . TABLE_PRODUCTS . " SET products_quantity_order_units = 1 WHERE products_id = '" . (int)$products_id . "'";
$results = $db->Execute($sql);
}
// fix Product copy from if Minimum is 0
if ($product->fields['products_quantity_order_min'] == 0) {
$sql = "UPDATE " . TABLE_PRODUCTS . " SET products_quantity_order_min = 1 WHERE products_id = '" . (int)$products_id . "'";
$results = $db->Execute($sql);
}
$tmp_value = zen_db_input($product->fields['products_quantity']);
$products_quantity = (!zen_not_null($tmp_value) || $tmp_value=='' || $tmp_value == 0) ? 0 : $tmp_value;
$tmp_value = zen_db_input($product->fields['products_price']);
$products_price = (!zen_not_null($tmp_value) || $tmp_value=='' || $tmp_value == 0) ? 0 : $tmp_value;
$tmp_value = zen_db_input($product->fields['products_weight']);
$products_weight = (!zen_not_null($tmp_value) || $tmp_value=='' || $tmp_value == 0) ? 0 : $tmp_value;
$db->Execute("insert into " . TABLE_PRODUCTS . "
(products_type, products_quantity, products_model, products_image,
products_price, products_virtual, products_date_added, products_date_available,
products_weight, products_status, products_tax_class_id,
manufacturers_id,
products_weight_type, products_dim_type, products_length, products_width,
products_height,
products_ready_to_ship,
products_quantity_order_min, products_quantity_order_units, products_priced_by_attribute,
product_is_free, product_is_call, products_quantity_mixed,
product_is_always_free_shipping, products_qty_box_status, products_quantity_order_max, products_sort_order,
products_price_sorter, master_categories_id
)
values ('" . zen_db_input($product->fields['products_type']) . "',
'" . $products_quantity . "',
'" . zen_db_input($product->fields['products_model']) . "',
'" . zen_db_input($product->fields['products_image']) . "',
'" . $products_price . "',
'" . zen_db_input($product->fields['products_virtual']) . "',
now(),
" . (zen_not_null(zen_db_input($product->fields['products_date_available'])) ? "'" . zen_db_input($product->fields['products_date_available']) . "'" : 'null') . ",
'" . $products_weight . "', '0',
'" . (int)$product->fields['products_tax_class_id'] . "',
'" . (int)$product->fields['manufacturers_id'] . "',
'" . zen_db_input(($product->fields['products_quantity_order_min'] == 0 ? 1 : $product->fields['products_quantity_order_min'])) . "',
'" . zen_db_input(($product->fields['products_quantity_order_units'] == 0 ? 1 : $product->fields['products_quantity_order_units'])) . "',
'" . zen_db_input($product->fields['products_length']) . "',
'" . zen_db_input($product->fields['products_width']) . "',
'" . zen_db_input($product->fields['products_height']) . "',
'" . zen_db_input($product->fields['products_ready_to_ship']) . "',
'" . zen_db_input($product->fields['products_quantity_order_min']) . "',
'" . zen_db_input($product->fields['products_quantity_order_units']) . "',
'" . zen_db_input($product->fields['products_priced_by_attribute']) . "',
'" . (int)$product->fields['product_is_free'] . "',
'" . (int)$product->fields['product_is_call'] . "',
'" . (int)$product->fields['products_quantity_mixed'] . "',
'" . zen_db_input($product->fields['product_is_always_free_shipping']) . "',
'" . zen_db_input($product->fields['products_qty_box_status']) . "',
'" . zen_db_input($product->fields['products_quantity_order_max']) . "',
'" . zen_db_input($product->fields['products_sort_order']) . "',
'" . zen_db_input($product->fields['products_price_sorter']) . "',
'" . zen_db_input($categories_id) .
"')");
$dup_products_id = $db->Insert_ID();
$description = $db->Execute("select language_id, products_name, products_description,
products_url
from " . TABLE_PRODUCTS_DESCRIPTION . "
where products_id = '" . (int)$products_id . "'");
while (!$description->EOF) {
$db->Execute("insert into " . TABLE_PRODUCTS_DESCRIPTION . "
(products_id, language_id, products_name, products_description,
products_url, products_viewed)
values ('" . (int)$dup_products_id . "',
'" . (int)$description->fields['language_id'] . "',
'" . zen_db_input($description->fields['products_name']) . "',
'" . zen_db_input($description->fields['products_description']) . "',
'" . zen_db_input($description->fields['products_url']) . "', '0')");
$description->MoveNext();
}
$db->Execute("insert into " . TABLE_PRODUCTS_TO_CATEGORIES . "
(products_id, categories_id)
values ('" . (int)$dup_products_id . "', '" . (int)$categories_id . "')");
$products_id = $dup_products_id;
// FIX HERE
/////////////////////////////////////////////////////////////////////////////////////////////
// Copy attributes to duplicate product
// moved above $products_id_from=zen_db_input($products_id);
$products_id_to= $dup_products_id;
$products_id = $dup_products_id;
if ( $_POST['copy_attributes']=='copy_attributes_yes' and $_POST['copy_as'] == 'duplicate' ) {
// $products_id_to= $copy_to_products_id;
// $products_id_from = $pID;
// $copy_attributes_delete_first='1';
// $copy_attributes_duplicates_skipped='1';
// $copy_attributes_duplicates_overwrite='0';
if (DOWNLOAD_ENABLED == 'true') {
$copy_attributes_include_downloads='1';
$copy_attributes_include_filename='1';
} else {
$copy_attributes_include_downloads='0';
$copy_attributes_include_filename='0';
}
zen_copy_products_attributes($products_id_from, $products_id_to);
}
// EOF: Attributes Copy on non-linked
/////////////////////////////////////////////////////////////////////
// copy product discounts to duplicate
if ($_POST['copy_discounts'] == 'copy_discounts_yes') {
zen_copy_discounts_to_product($old_products_id, (int)$dup_products_id);
}
zen_record_admin_activity('Product ' . (int)$old_products_id . ' duplicated as product ' . (int)$dup_products_id . ' via admin console.', 'info');
}
// reset products_price_sorter for searches etc.
zen_update_products_price_sorter($products_id);
}
zen_redirect(zen_href_link(FILENAME_CATEGORIES, 'cPath=' . $categories_id . '&pID=' . $products_id . (isset($_GET['page']) ? '&page=' . $_GET['page'] : '')));
My lone client using this had a shipping charge come back $10 more than it should be. I checked everything - the weight of the shipment, addresses etc. Using the online tool returns the correct amount but the customer got overcharged in Zen Cart. Has anyone else seen this happen?
Can someone point me to information about API changes? I need to be aware of upcoming problems before they hit.
First things I'd rule out - on the Canada Post shipping mod - there is facility to add a mod generated handling charge - bottom of the edit mod screen in admin. There is also facility to add handling charges to different rates in the Canada Post Profile (link to this at top of the edit mod screen). I suppose a less likely place to peek would be in admin/store to see if there is a currency exchange factor in play.
the other shipping charges were close to being on the money. It's just this one from Vancouver to Toronto for a small package. No handling charges added. They are saying that most charges are a wee bit higher - like .64 . Currency is the Canadian Dollar
I don't know how this is supposed to work. The table rates that are in the mod as default - are they necessary? what overrides what?
The table rates are for Lettermail. There is something in the mod readme files about how to set these up. These have to be manually updated as they are accommodated but not managed by the CP api. If lettermail is enabled it would be offered as a choice to the customer but wouldn't override the other choices. If the small package happened to also be within the lettermail size limits it might be possible, if reading in a hurry, to mistake one for the other. Lettermail can be turned off in the admin/mod/edit if not used.
Another boo boo I had one time was misplacing a decimal point in my product dimensions. It was easily caught by the zillion dollar quote.
The only problem I'm aware of with the app functionality is that Courier rates are bungled because Canada Post has made changes that are not yet reflected in the app. I just turned that option off in my profile since it was never used anyway.
I've been using the app since zc 1.3.7 days. Now on zc 1.5.5d.
Thanks!
So anyone have any news about an update to this module? Something to use Canada Post's REST or SOAP functions? Something to function as a box packager that will work with Canada Post?
Getting really tired of the dilapidated patch-work of modules I have installed to try to get shipping from Canada Post for a Zen Cart site.
I installed this a long while back, Advance Canada Post
https://zucando.com/zen-cart-modules...pae54r29puupu7
But it never worked from the start. I paid a dev to fix it and he managed to get it somewhat working, but it doesn't allow me to add any delay/lead time to orders, it doesn't generate rates for all the checked off services like tracked packet. It doesn't have any box packing ability, so I'm always loosing a couple of dollars here and there with the Xpresspost and Priority services, also customers placing larger orders get no shipping rates since this module doesn't seem to be able to tell CP 2 boxes might be needed...
I'd love to use this box packing module, https://www.zen-cart.com/downloads.php?do=file&id=1826 but it was only written for USPS and UPS and in inches/lbs instead of cm/kg.
So, any ideas of what else I can do here to get proper shipping rates going?
I've been using this module since zc 1.3.7 and it still works on 1.5.5e. There was some change at Canada Post end that made shipping by courier selection problematic - but I've never had anyone select it so I just disabled that choice in my CP profile. I have all my box sizes set and my product sizes set and the mod comes up with the correct packaging.
For now, at least, it continues to be doing a good job for me.
The "Advanced Canada Post" from Zucando was a waist of time for me as well. A lot of time spent, and emails back and forth and it still wouldn't work.
Unfortunately there's no support at Canada Post for sell online anymore. Years ago I had Sell online support make Xpresspost mandatory in BC. Now there's nobody there that knows how to change that.
Looks like something is down on CP's side... Their web-based xml parser is returning the same error that my site is:
http://sellonline.canadapost.ca/Deve...Interface.html
<statusMessage>Unable to establish connection to Rating Service.</statusMessage>
Can others confirm that their Canada Post quotes aren't working at all today (Labor Day, 2017)??
If so, I'm not sure if the email address is even monitored anymore, but it's worth a try for everyone to send a quick email to whom ever is keeping this relic of a system alive.
email: sellonline@canadapost.ca
Yep. Thanks for confirming.
Just spoke with CP Help Desk, they are aware of the issue (thanks, in part, to all of us) and are working to get it fixed... It seems to be affecting the new Developer Forum as well, so that's a good thing for us, as that is a resource that they push pretty hard.
Will update again when it's back online for me.
And we're back online!
LOL, this is the response I received from Canada Post. good thing we're back up running:
Hello,
Thank you for contacting the Sell Online helpdesk.
In order to further assist you with this issue, we will need to open
an incident ticket. To do so, we will require the information below.
Retailer Username:
Password:
Web Developer or User:
Operating System:
Operational (Y/N):
Customer #:
Contract #:
Contact Name:
Contact Phone:
Contact Phone Ext:
Language (EN, FR or Bilingual):
City:
Province:
We’ll be expecting a response at your convenience.
Regards,
Sébastien | Sell Online Helpdesk (30)
sellonline@canadapost.ca
1-866-511-0546
So is Canada Post down yet again for others atm?
Seems to be timing out when trying to get rates.
Yeah. Down again. Here's notice on their web site:
https://www.canadapost.ca/web/en/blo...ts&cat=updates
Why do they always do that. "Saturday, September 9 at 9 p.m. until Sunday, September 10 at 9:00 a.m. Eastern Time (ET)."
It is not 9PM EST. It's in the middle of the afternoon, not even near their window and I've already gotten calls from customers trying to place orders, but shipping is down.
This question must have been asked a dozen times, but I am not having luck with search function, so forgive me for asking it again.
When I add products to the shopping cart, the shipping rate just keeps multiplying instead of doing combined shipping. Is this the only way Canada Post module works?
With recent jacking up the rates 2x by Canada Post this is going to run me out of business in a short time, as when a customer sees $30 for shipping two diodes from Toronto to Winnipeg, they just bail out and go to the eBay where it's free shipping from China all over the world.
I can't speak to technical code aspects. But do you have package sizes established in your CPost profile that will accommodate multiple items. And if so, are the package dimensions given in the same sequence as used in your product description - ie a 2 x 3 x 6 product won't compute to fit in a 6 x 2 x 3 box. These are only things I can think of if mod is merged/installed ok.
Good luck.
Tried playing with the old Canada Post module again, but I cannot seem to get it to load.
When adding /includes/modules/shipping/canadapost.php into its directory, it "breaks" the admin interface with and without the fix from #284 Any suggestions?
Warning: the current Canada Post Shipping Module for Zen Cart 1.53 will not work out of the box. There are coding errors...
I am currently rebuilding the module to be compatible with Zen 1.55f, will post updates/bug fixes when complete.
The current Canada Post module is terribly out of date. Canada Post has abandoned the Sell Online platform years ago, and uses only Rest/Soap. The solution I have mashed together, of the Shipping Boxes Manager module and Advanced Canada Post produces rates, but the box manager is terribly inaccurate with its logic for packing boxes, and the advanced Canada post module won't return rates for Tracked Packet, Priority and other services.
It's been 4 years since the Canada post Module has been updated, if twitchtoo or anyone can produce a module that works with CP's new platform, and handle boxes in a competent way, I'd gladly contribute money towards it.
I'm still using last Canada Post mod from the plugin page. Priority Shipping apparently doesn't work but I don't use it. I use the includes/modules/shipping/candapost file as written, not modified as mentioned a few posts back.
The boxes and packing work well for me and the quoted rate is usually dead on, or at least very close. It did take some fiddling years ago to get my box sizes set - its important to have length, width, depth in the same order for each box. And I created boxes that accommodate multiples of those dimensions and in the same sequence. (an item sized as 8x2x4 will NOT fit in a box 4x2x8 - instead the mod will search for the first box defined to accommodate the former. squence)
There was an issue, years back when I was on zc 1.3.7 - using the 'free shipping mod' resident in zen cart conflicted with the Canada Post Mod - the solution at the time (that I still use) is to leave the free shipping mod uninstalled and define free shipping threshold in the Canada Post set up (where the box sizes are defined).
My biggest gripe with Canada Post is that their site goes down more often than I like - affecting not just zen cart mod but other CanPost online services.
I am, however, looking forward to an update as it is surely a matter of time before it all goes south on me ;o)
Currently using zc 1.5.5f, php7.1
So, is Canada Post down yet again or just me? Must be them, I can't even log into their website...
I just installed the CP module for my 1.5.5 ZC and can't get it to calculate the cost per shipment.
I'm not using letter mail so I turned that off.
I'm also not shipping outside Canada so I cleared out the spots for US and INT'L
I did notice that each of my products now have a section at the bottom of their config page where I can define the weight and size of the box, which I did.
When I log in as my test user and select an item to ship, i can get it to show me the Country and Province, but when I click on update it still comes up with $0 shipping, Store Pickup (Walk-in)
Does this add-on still work in 1.5.5 as I see it only goes up to 1.5.3 according to the download link.
I did configure my user name that I created earlier today with CP and do not see any errors anywhere so I'm assuming that my host has port 30000 open as needed.
Any suggestions?
Thanks
Hello rensing,
That is what I’m using on my current website. It’s working for me.
Please make sure that files are merge correctly. Also please take the time to read the old post if you have not done so already.
Having concerns about loading this on 1.5.5f as, first thing out of the box, the function shoppingCart() has changed in the includes/classes/shoppingcart.php in the newest version of the file.
Concerned that merging the older over the new could break the cart.
@soxophoneplayer Are you using this file with the function as shoppingCart() or __construct()?
I just did a file compare of includes/classes/shoppingcart with my livesite vs outof the box zc 1.5.5f. The only changes I have in the former is addition of the two sections of CanadaPost module. construct() apprears around line 79.
It is working for me fine (except as noted in earlier posts - the Priority Shipping option seems to not work for some folks but I don't use that anyway.)
The mod itself and the directions say to overwrite with the file and that would remove the newer _construct().:(
@twitchtoo Any success on this mod?
When updating a mod that was written for an earlier version of zen cart I do a 3 way compare: the file in the mod, the file in the version of zc for which the mod was written, and the file in the new version of zc to which I want to upgrade. As a rule of thumb I ignore changes that were only between the two zen cart versions, and I make only the changes that the mod made in the earlier version. This doesn't always work for me if the mod files were dramatically altered, and in particular, if the changes to core files were not highlighted. In the case of Canada Post mod each and every change to the original file set was clearly identified within each file so it was easy to work with.
Basically, I merge ALL files and overwrite none. Otherwise, you end up with old core files mixed in with new core files.
We all try our best to make these things work, but everyone who has posted here with 1.5.5f has mentioned that some portion of the mod did not work. Most also said they didn't use that feature anyway.
Even the best of annotated code may break a newer version of the file its inserted into.
The sell online server at Canada Post is offline again so our plugin cannot get prices. Does anyone have a working zencart site using the REST or SOAP system so they can calculate Canada Post shipping?
Hello, we have been having a problem with Canada Post shipping module since we upgraded our hosting server and our zen cart version from 1.5.3 to 1.5.4
We get this message when it calls for shipping quote;
"Canada Post Canada Post
Cannot reach Canada Post Server. You may refresh this page (Press F5 on your keyboard) to try again.
111 Connection refused
If you prefer to use Canada Post as your shipping method, please contact the Kart Works Canada Online Store via Email."
everything else is working with our site, we have been using zen cart for years about 10... I can work my way around the code some what.
I tried re installing the Canada Post shipping module a few times... no luck we have a 7.1 PHP server now but it is running a a down graded version that was the same as our old server. Our Fedex is working, Canada post it has been like this for over a month now. I figured they are on strike and there maybe problems to wait it out but I think it has something to do with coding or a fire wall or something????
Any help would be much appreciated,
Thank you in advance.
Unfortunately funding to rebuild this project by my first client was cut when their hosting fees - to open the specific port needed - exceeded their projected income each month! There were other factors of course and each hosting company had similar pricing/support.
We instead developed a static/dynamic lookup that can gather the information by other means and present very accurate postal pricing without any time waiting for a remote processing server.
Obviously being wired directly into Canada Post is the purpose of this module and when funding returns I'll be happy to support it!
I've tried re-installing the regular canada post module from the plugins page on my 1.5.4 cart, and it's causing the shipping modules page on the admin side to hang. (see picture), what can I do to have the page load properly?Attachment 18258
[11-Jan-2019 13:37:52 America/Toronto] PHP Fatal error: Cannot redeclare class canadapost in /home/northfur/public_html/includes/modules/shipping/canadapost.php on line 0
is in the error log
What is a good alternative to using the Canada Post Module? We still want to use Canada Post just need another way to have it available for customers to get a close to reasonable shipping rate. What do most of you use to do this table rates?
Any insight would be helpful thank you for your response.
Ryan
Powered through that last error. Now I'm hitting a wall again with this error:
[16-Jan-2019 10:22:00 America/Toronto] PHP Warning: file_get_contents(http://198.33.104.28:30000/): failed to open stream: Connection refused in /home/northfur/public_html/includes/modules/shipping/canadapost.php on line 342
I've tried the IP address and the sellonline address, I've tried with and without the fix from post #284
We just can't connect to Canada Post's old sellonline system anymore? http://sellonline.canadapost.ca:30000/ is unreachable?
1 - Check that your server is allowing access through the dedicated port that Canada Post requires.
2 - Find a way to accurately test traffic through the port to or from your site.
3 - Also check that the port number is correct in the code in case someone changed it - in code or at Canada Post.
Yes. - Tables will work and you can easily write out the 'math' in excel so it's easier to see, then paste it as comma delimited into the tables module.
Alternately we have custom coded a number of shipping 'matrix' modules that can accomplish merging of things like shipping dimensions, shipping weight and shipping time windows relative to store hours or delivery options available.
As mentioned in post #384 of this thread there are means to use the account specific pricing that Canada Post and all other shipping companies provide to businesses to create a postal/Google address enhanced connection without connecting directly to the Canada Post server (or any other shipping company API).
I am currently running ZenCart V 1.5.6a and have been told that the version of the coding in the Canada Post Module needs updating. Since my coding skills are not current I am unable to do it and was wondering if there are plans to update and if so when might this happen.? Does anyone have a working version on ZenCart V1.5.6a that they might share?
I am running the same issue, I have one working test site, you can check it here:
http://www.chandelierparts.ca/new56a...&products_id=1
There is only one product populated as It is a testing area, I don't know how it worked, but it is.
I posted a question about this issue but didn't get any answer, you can check it at:
https://www.zen-cart.com/showthread....86#post1355686
I will try to extract the files in the same order inside their corresponding folders and post them as soon as I can, but as I am not a coder, I don't get any responsibility.
You can try this module on a test folder.
Thanks
zmh
I had the shipping calculations working okay in 1.5.6a (php 7.2) and only got the error message mentioned above when trying to edit or create new products in the admin. Looking at the list of changed files I see that admin/incl/modules/document_general/product/collect_info.php files have been updated so going to see what code I can merge. (I'm also not a coder!)
A warning for anyone using the old sellonline profile site for shipping rates. Canada Post, for no reason, has changed settings on their end.
Before, when you selected "Add Insurance" under General Information and entered say, $100, for the insurance activation amount, Canada Post would simply add insurance for orders over 100. It would generate shipping rates for small packet air, Tracked Packet, Expedited, Xpresspost, Priority, and add insurance WHERE APPLICABLE.
So if a customer had a $200 order, it would generate rates for Small Packet Air (no insurance), Tracked Packet (maxed out insurance at $100), and add the extra ~2.25 for the Expedited, Xpresspost and Priority(maxed out insurance at $200) quotes for the extra insurance.
Now, for at least the past 2ish weeks: It seems like Canada Post will not generate rates for any service that it cannot fully insure, dropping them from any generated quotes.
For example, an order valued at $300, Canada Post will no longer display rates for Small Packet Air, Tracked Packet nor Priority, and only return rates for Expedited and Xpresspost since they're the only insurable services at $300.
I haven't tested the upper end of this, Canada Post's maximum insurance is $1000 with Xpresspost to the USA and Internationally, so maybe it'll return no shipping rates at all for large value orders...
Just received an email from one of my Merchants using SellOnline for CP quotes and they are receiving "An unknown error occured with the Canada Post shipping calculations."
Anyone else getting this when trying to retrieve Canada Post shipping quotes at the moment? Want to be sure it's not a system-wide issue before I pull the site apart.
That server's been down since the wee hours of Sunday for me, and appears to still be unreachable. I bought a module that accesses CP via SOAP, which is working just fine - that server is up & running. The SOAP server doesn't offer any Lettermail options like the SellOnline did, so I cloned Free Shipping Options & set it up with a weight restriction (which meant going through the data for all my products that don't fit in a padded envelope & assigning them an imaginary weight higher than the restriction - a bit ugly, but I can live with ugly if it works.)
Zucando's Advanced Canada Post: https://zucando.com/zen-cart-modules...ed-canada-post Seems to be working fine, but it's only been a couple of days and coincidentally most of my customers have been either Lettermail or free shipping so I haven't used it much. A couple of important notes: read the readme that comes with the module (html file in docs unhelpfully labelled "index.html"). And the customer has to be enrolled in the CP Developers Program because the username & password asked for in the module during setup is from the production API keys, it is NOT the username & pass from their CP account.
Do this:
- go to Developer Program portal page (https://www.canadapost.ca/cpc/en/bus...ate-apis.page?)
- Click "Go To Developer Program" button & log in as your customer if they are signed up, or sign them up if they're not already
- find the table with the API Keys (link is in left hand menu, 3rd from bottom)
- copy Production username and password from the table shown and paste them into the setup panel in the module (they are separated by a colon in the API keys table)
The installation instructions with the module are not as comprehensive as they should be (ha ha! understatement) and it took me a while to figure out the username & password thing. There might be another decent CP module out there? I dunno, I didn't look too hard as I was in a hurry to get my shipping back up & running. Looking back upthread there've been folks that haven't been able to get it to work for them, but the version I've installed in my shop (currently running v.1.5.5f) seems to be ok so far.