Zen Cart Logo
Forums / Addon Shipping Modules / Custom purolator module won't allow checkout to continue to page 2

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

Views: 12,979

Results 21 to 40 of 54
8 Jun 2011, 3:00 AM
#21
danger avatar

danger

New Zenner

Join Date:
Feb 2011
Posts:
43
Plugin Contributions:
0

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

I also added:
var $title;
/**

  • Shipping module display description
  • @var string
    /
    ** var $etitle;
    /
    *
  • Shipping module display description
  • @var string
    /*

and

    $this->code = 'purolator';
    $this->title = MODULE_SHIPPING_PUROLATOR_TEXT_TITLE;

** $this->etitle = MODULE_SHIPPING_PUROLATOR_TEXT_E_TITLE;**

to the module. Figured if I'm going to put up my modifications, I better put all the changes I made.

10 Jun 2011, 5:38 AM
#22
dazana avatar

dazana

New Zenner

Join Date:
Apr 2009
Posts:
45
Plugin Contributions:
0

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

tried module today, it seem works somewhat by can see any quotes:

An unknown error occured with the Purolator shipping calculations.
Please Correct this information in your profile

Triple checked my keys. Perhaps it may be typo in URLs?

10 Jun 2011, 1:06 PM
#23
danger avatar

danger

New Zenner

Join Date:
Feb 2011
Posts:
43
Plugin Contributions:
0

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

DazAna:

tried module today, it seem works somewhat by can see any quotes:

An unknown error occured with the Purolator shipping calculations.
Please Correct this information in your profile

Triple checked my keys. Perhaps it may be typo in URLs?

Has Purolator "confirmed" you? I'm still waiting for them to get back to me after I registered with their e-Ship service. Day 3 for me for what was suppose to be 2 business days. Until they do their confirmation by contacting you the keys won't work. At least that is what I am assuming is the problem as mine says the same error.

10 Jun 2011, 5:16 PM
#24
dazana avatar

dazana

New Zenner

Join Date:
Apr 2009
Posts:
45
Plugin Contributions:
0

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

Oh, yes I see. I got e-mail notification that key although issued immediately is not really usable until confirmed.

Darn it.

13 Jun 2011, 8:53 PM
#25
dazana avatar

dazana

New Zenner

Join Date:
Apr 2009
Posts:
45
Plugin Contributions:
0

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

I got my credentials verified, but module is still doesn't work out of the box...

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

Anybody have a better luck with this?

14 Jun 2011, 5:01 AM
#27
danger avatar

danger

New Zenner

Join Date:
Feb 2011
Posts:
43
Plugin Contributions:
0

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

Not sure myself. Purolator still hasn't contacted me. I will of course be contacting them by phone tomorrow. Little disgusted with their customer service already.

14 Jun 2011, 5:07 PM
#28
dazana avatar

dazana

New Zenner

Join Date:
Apr 2009
Posts:
45
Plugin Contributions:
0

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

Danger:

Not sure myself. Purolator still hasn't contacted me. I will of course be contacting them by phone tomorrow. Little disgusted with their customer service already.

They will not. Call them and they will enable your key instantly: 604-298-2181

14 Jun 2011, 10:12 PM
#29
danger avatar

danger

New Zenner

Join Date:
Feb 2011
Posts:
43
Plugin Contributions:
0

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

After a bit of a run around, I was able to get a hold of a guy name Kevin who looks after the web development area. Seems my problem of not getting confirmed was because I didn't apply for a development key first and go through the development/testing phase.

So I now have my production key enable for estimating purposes but I am still getting the same error:
An unknown error occured with the Purolator shipping calculations.

Not sure why as that error isn't all that informative. Currently trying a few things and will see what happens.

15 Jun 2011, 4:28 AM
#30
danger avatar

danger

New Zenner

Join Date:
Feb 2011
Posts:
43
Plugin Contributions:
0

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

Well I've tried a bunch of things that I thought might be causing the error but be damned if any of it worked. I'm now at a loss.

I know you're busy Luxifer but any help would be greatly appreciated. Actually any help from anyone would be greatly appreciated. My PHP is greatly limited making it quite hard to find where the error might lie. Heck it could even be something else in the website.

My Website

15 Jun 2011, 4:40 AM
#31
dazana avatar

dazana

New Zenner

Join Date:
Apr 2009
Posts:
45
Plugin Contributions:
0

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

So you got the same result as I did.

I believe it is safe to assume that module still need some work. It is a shame really.

Code is very well documented, but still above my level.

25 Jun 2011, 4:11 PM
#32
hey_you avatar

hey_you

New Zenner

Join Date:
Sep 2009
Posts:
49
Plugin Contributions:
0

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

If you haven't done so, make sure you download the wsdl file from purolator and upload the production wsdl file to your catalog root.

This file is vital to the module working

26 Jun 2011, 12:37 AM
#33
danger avatar

danger

New Zenner

Join Date:
Feb 2011
Posts:
43
Plugin Contributions:
0

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

hey_you:

If you haven't done so, make sure you download the wsdl file from purolator and upload the production wsdl file to your catalog root.

This file is vital to the module working

I've searched high and low for this file but be damned if I can find on the Purolator site.

nevermind, I'm just blind...

26 Jun 2011, 12:53 AM
#34
danger avatar

danger

New Zenner

Join Date:
Feb 2011
Posts:
43
Plugin Contributions:
0

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

Ok, so where exactly does this file go? Not sure what you mean by catalog root.

26 Jun 2011, 1:02 AM
#35
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

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

Danger:

so where exactly does this file go? Not sure what you mean by catalog root.
hey_you:

upload the production wsdl file to your catalog root.
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

26 Jun 2011, 1:07 AM
#36
danger avatar

danger

New Zenner

Join Date:
Feb 2011
Posts:
43
Plugin Contributions:
0

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

Ahhh ok. I thought that's what it might have meant but I wanted to be sure. Thank you for explaining that nicely :) Now to see if I can get the Purolator Mod working... fingers crossed...

26 Jun 2011, 1:51 AM
#37
danger avatar

danger

New Zenner

Join Date:
Feb 2011
Posts:
43
Plugin Contributions:
0

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

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.

14 Jul 2011, 6:31 PM
#38
luxifer avatar

luxifer

New Zenner

Join Date:
Mar 2009
Posts:
57
Plugin Contributions:
0

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

Danger:

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'll check this, but puro works on min .5kg anyways, so it's supposed to round up.

Any other problems?

25 Jul 2011, 11:28 PM
#39
danger avatar

danger

New Zenner

Join Date:
Feb 2011
Posts:
43
Plugin Contributions:
0

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

I do have another problem. Not sure why but the shipping module is showing about $4.00 more than what it actually costs to ship an item express.

I just shipped an item Express with a weight of 1lb at a cost of $15.07.

I set up a customer with that same address and added a couple items to make up the 1lb and the module shows a cost of $19.06 for Express and Ground shipping.

Both prices are without tax added.

I know it's just an estimate but $3.99 seems a bit out even for an estimate.

25 Jul 2011, 11:43 PM
#40
luxifer avatar

luxifer

New Zenner

Join Date:
Mar 2009
Posts:
57
Plugin Contributions:
0

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

Danger:

I do have another problem. Not sure why but the shipping module is showing about $4.00 more than what it actually costs to ship an item express.

I just shipped an item Express with a weight of 1lb at a cost of $15.07.

I set up a customer with that same address and added a couple items to make up the 1lb and the module shows a cost of $19.06 for Express and Ground shipping.

Both prices are without tax added.

I know it's just an estimate but $3.99 seems a bit out even for an estimate.

Turn on the error checking for this module. This involves un-commenting a few lines in the code. I've made it obvious where to do this, but I can tell you how if you need.
This will tell you exactly what Purolator is returning as a value.
My suspicion is it's not Puro or my code.

Zencart has a specification where it adds to the calculated weight before it does the request (to account for packing) and/or it adds to the value received to give you a markup.

After turning on error checking, when you do a quote, there will be a comment at the top of the source-code of the page. This will give you the weight and the quote price. Compare these to what you were calculating.
If the weight is different, you have Zencart set to add weight. If the price is different, you have zencart set to add $.

Once you figure out which, there's 2 things to do.

  1. It's probably the weight tare, in which case go to Configuration/shipping-packaging. There are two lines that are to add a percentage to package tare. Set them both to 0:0.
    If it's not the weight tare, I forget where the other setting is, let me know and I'll look for it.

  2. re-comment the source code so that it doesn't do the error-checking anymore.

Let us know if this works for you.

<edit> Actually, before going through the trouble of playing with the code, just check your zencart settings first to see that both are set to 0:0. If this fails, then play with the code. <end edit>