My Canpar module has started calculating $0.00 for all orders. This was not happening a week ago and now I can't seem to fix it. Anyone able to help?
I'm using Zen Cart 1.3.8 with the Canpar module (has worked for over a year).
My Canpar module has started calculating $0.00 for all orders. This was not happening a week ago and now I can't seem to fix it. Anyone able to help?
I'm using Zen Cart 1.3.8 with the Canpar module (has worked for over a year).
I am having the same issue. I'm pretty new to zen cart though. I notice that the module says its for version 1.3.7 of zen cart, not sure if that is the issue or not.
I've noticed this as well, am working on it ~
$body = ereg_replace('<CanparRate.\">', '<CanparRate>',file_get_contents("http://www.canpar.com/CanparRateXML/BaseRateXML.jsp?service=1&quantity=1&unit=L&origin=k1p5m8&dest=k1p5m8&cod=0&weig ht=35&put=0&xc=0&dec=0"));
this is where i'm at right now, and is working for my test script, but need to integrate this into the canpar.php page with the
$request variable in there....
seems the canpar page is giving extra info after <CanparRate that needs to be stripped.
Any PHP programmers out there? :)
will post when working solution found, just noticed this yesterday when somebody got free shipping!
scratch that ~ I was overcomplicating things. It seems that the postal codes are the issue...
just replace 'origin=' . $srcFSA,
'dest=' . $desFSA,
with
'origin=' . $srcFSA .'1a1',
'dest=' . $desFSA .'1a1',
(in the canpar.php file)
and it works fine!
PERFECT!!
Thanks a bunch!