Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Oct 2008
    Posts
    13
    Plugin Contributions
    0

    Default Canpar mod not working all of a sudden

    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).

  2. #2
    Join Date
    Jul 2009
    Posts
    2
    Plugin Contributions
    0

    Default Re: Canpar mod not working all of a sudden

    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.

  3. #3
    Join Date
    Aug 2005
    Posts
    2
    Plugin Contributions
    0

    Default Re: Canpar mod not working all of a sudden

    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!

  4. #4
    Join Date
    Aug 2005
    Posts
    2
    Plugin Contributions
    0

    Default Re: Canpar mod not working all of a sudden

    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!

  5. #5
    Join Date
    Jul 2009
    Posts
    2
    Plugin Contributions
    0

    Default Re: Canpar mod not working all of a sudden

    PERFECT!!

    Thanks a bunch!

 

 

Similar Threads

  1. v151 Email Notification Not Working All Of A Sudden
    By Phil Soth in forum General Questions
    Replies: 4
    Last Post: 13 Feb 2015, 07:11 AM
  2. Handling fees all of a sudden not working
    By canemasters in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 23 Nov 2011, 04:06 AM
  3. Check out not working all of a sudden
    By jvalent in forum General Questions
    Replies: 6
    Last Post: 5 Nov 2010, 07:17 PM
  4. Special Prices not working all the sudden!
    By pricediscrimination in forum Basic Configuration
    Replies: 2
    Last Post: 19 Mar 2010, 03:23 AM
  5. Canpar Mod MarkUp Not Working
    By breck in forum Addon Shipping Modules
    Replies: 1
    Last Post: 31 May 2008, 02:59 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg