Page 5 of 6 FirstFirst ... 3456 LastLast
Results 41 to 50 of 54
  1. #41
    Join Date
    Jan 2004
    Posts
    66,419
    Blog Entries
    7
    Plugin Contributions
    277

    Default Re: Custom purolator module won't allow checkout to continue to page 2

    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  2. #42
    Join Date
    Nov 2011
    Posts
    12
    Plugin Contributions
    0

    Default Re: Custom purolator module won't allow checkout to continue to page 2

    Need some advice if possible.

    I ahve the module installed, my account from Puro, my production key & password (verified and activated by Puro) yet I'm getting the:

    "An unknown error occured with the Purolator shipping calculations" error message.

    My Zen cart is setup in '/store/' on my website. I put the wsdl file in there (eg so it's path is www.xxxx.com/store/estimatingservice.wsdl). Should this be put somewhere else? Cant figure out what else could be wrong.

  3. #43
    Join Date
    Nov 2011
    Posts
    12
    Plugin Contributions
    0

    Default Re: Custom purolator module won't allow checkout to continue to page 2

    RESOLVED.

    Believe the problem was that I was using some heavier shipments (my product is normally). But had the Purolator module setting at PuroBox or PuroPak. Believe the weight I was using was likely exceeding the packaging limits and hence returning an error.

    Changed to 'custom packaging' and BAM off to the races.

    Purolator Web Development was great once I was able to reach the appropriate folks. And once they understood that there was a module in existence understood the reasoning to skid the dev key processes.

    Thanks again Luxifer for an excellent module!

  4. #44
    Join Date
    Jun 2006
    Posts
    298
    Plugin Contributions
    0

    Default Re: Custom purolator module won't allow checkout to continue to page 2

    Quote Originally Posted by kobra View Post
    Catalog "root" is the base area where you have your ZenCart installed

    It can be
    /htdocs
    /public_html
    or if installed into a directory under the main root you ZenCart root becomes
    /htdocs/catalog
    /public_html/shop
    /public_html/catalog

    Or what ever you have named the directory
    For some reason, the only way I could get this to work was to put the WSDL file in my site root, not my store root. Just wanted to share in case anyone else was banging their head against the wall...

  5. #45
    Join Date
    Mar 2009
    Posts
    57
    Plugin Contributions
    0

    Default Re: Custom purolator module won't allow checkout to continue to page 2

    Yes, I made it in the site root so that if you have multiple stores, they can all share the same file.

    And yes, I will get this updated as soon as I work out all my other 1.5 module issues.

  6. #46
    Join Date
    Jun 2006
    Posts
    298
    Plugin Contributions
    0

    Default Re: Custom purolator module won't allow checkout to continue to page 2

    Quote Originally Posted by Danger View Post
    Ok, it's working... mostly. Now if I try to order anything that weighs under half a kg. I still get the error "An unknown error occured with the Purolator shipping calculations."

    However anything half a kg and above seems to work just fine.
    I'm having this minimum weight issue. I set package tare to add weight, but it still won't give me a quote. Is there any way to make it round up to a minimum weight?

  7. #47
    Join Date
    Mar 2009
    Posts
    57
    Plugin Contributions
    0

    Default Re: Custom purolator module won't allow checkout to continue to page 2

    ok, open the includes/modules/shipping/purolator.php file.
    line 119 or so, change the line to read:
    PHP Code:
    $shipping_weight ceil($shipping_weight); 
    Haven't tested it, but that should certainly work.
    Let me know how it goes, and I'll put it in my list of things to test for the new version.

    Quote Originally Posted by abcisme View Post
    I'm having this minimum weight issue. I set package tare to add weight, but it still won't give me a quote. Is there any way to make it round up to a minimum weight?

  8. #48
    Join Date
    Jun 2006
    Posts
    298
    Plugin Contributions
    0

    Default Re: Custom purolator module won't allow checkout to continue to page 2

    Quote Originally Posted by Luxifer View Post
    ok, open the includes/modules/shipping/purolator.php file.
    line 119 or so, change the line to read:
    PHP Code:
    $shipping_weight ceil($shipping_weight); 
    Haven't tested it, but that should certainly work.
    Let me know how it goes, and I'll put it in my list of things to test for the new version.
    Changed this line:

    Code:
    $shipping_weight = round($shipping_weight, 2);
    To:

    Code:
    $shipping_weight = ceil($shipping_weight);
    Still nothing.

  9. #49
    Join Date
    Mar 2012
    Posts
    3
    Plugin Contributions
    0

    Default Re: Custom purolator module won't allow checkout to continue to page 2

    Hey guys,

    I was recently asked to solve this shipping weight problem. Here's the solution:

    Edit purolator.php

    Around Line 300,

    Find this line:
    $this->totalWeight = round($this->totalWeight); //rounds up to the nearest interger
    Replace with:

    if($this->totalWeight > 0 && $this->totalWeight < 0.5) { $this->totalWeight = 0.5; } // minimum charge fix, will not quote lowest rate if item has no weight
    $this->totalWeight = round($this->totalWeight); //rounds up to the nearest interger
    if $this->totalWeight was less than 0.5, it would round to 0. With it equal to 0.5, it rounds to 1.



    Thanks Luxifer for your work on the module

  10. #50
    Join Date
    Jun 2009
    Location
    Orange County, California
    Posts
    544
    Plugin Contributions
    18

    Default Re: Custom purolator module won't allow checkout to continue to page 2

    giantfan, thanks for your efforts in building this module! Any plans to get it packaged up and posted in the Plugins section? I'm happy to help gather up the files and make them plugin-ready.

 

 
Page 5 of 6 FirstFirst ... 3456 LastLast

Similar Threads

  1. Canada post Module won't allow large pieces
    By RobertG in forum Addon Shipping Modules
    Replies: 1
    Last Post: 16 Mar 2012, 08:17 AM
  2. Custom Payment module won't redirect to "checkout success" page
    By eurorage in forum Addon Payment Modules
    Replies: 2
    Last Post: 5 Feb 2011, 08:14 PM
  3. Purolator Module
    By eluke in forum Addon Shipping Modules
    Replies: 7
    Last Post: 29 Oct 2009, 01:33 AM
  4. Blank Page when continue checkout - paypal module
    By scottwww1 in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 2 Oct 2009, 05:15 AM
  5. Cart won't allow checkout
    By jaredbbauer in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 20 Jul 2007, 05:30 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR