Forums / Addon Shipping Modules / UPS with Rural Destination Surcharge

UPS with Rural Destination Surcharge

Locked

Started by stagebrace on 22 May 2006, 2:39 AM · Views: 3,885

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
21 Jun 2006, 10:38 PM
#2
danmcguire avatar

danmcguire

New Zenner

Join Date:
Jun 2004
Location:
Eagle Creek, OR USA
Posts:
46
Plugin Contributions:
0

Re: UPS with Rural Destination Surcharge

Hi Dennis,

With the UPS rural surcharge code installed, when shipping from the US to Canada or Japan, if you forget to input a postal code, this response shows up above the shipping estimates:

Warning: strpos(): Empty delimiter. in /home/httpd/vhosts/mydomain.com/httpdocs/store/includes/modules/shipping/ups.php on line 423

Uninstalling the Area surcharge [going back to the default ups.php] makes the problem go away. Also, entering any numbers at all in the postal code area eliminates the error message [It doesn't like blanks, zeroes are acceptable.]

I have used winmerge to compare both ups.php files, but I cannot finf an obvious difference that would cause this error.

I'm hoping this is a simple estupido on my part. :smile:

Thanks,

dan

Fresh install with imported, updated database.

Zen Cart 1.3.0.1
Database Patch Level: 1.3.0.1

Server OS: Linux 2.4.21-40.ELsmp
Database: MySQL 4.0.24
PHP Version: 4.3.11 (Zend: 1.3.0)
HTTP Server: Apache/2.0.46 (Red Hat)

drd

23 Jun 2006, 4:35 PM
#3
stagebrace avatar

stagebrace

Totally Zenned

Join Date:
Jan 2005
Location:
Tennessee
Posts:
985
Plugin Contributions:
0

Re: UPS with Rural Destination Surcharge

Looks like I need to add some error checking. Look for a new upload this week end. And thanks for the feedback!

24 Jun 2006, 10:03 PM
#4
stagebrace avatar

stagebrace

Totally Zenned

Join Date:
Jan 2005
Location:
Tennessee
Posts:
985
Plugin Contributions:
0

Re: UPS with Rural Destination Surcharge

The new version is at the downloads. Thanks for the error report.

25 Jun 2006, 1:04 AM
#5
danmcguire avatar

danmcguire

New Zenner

Join Date:
Jun 2004
Location:
Eagle Creek, OR USA
Posts:
46
Plugin Contributions:
0

Re: UPS with Rural Destination Surcharge

Thank you Dennis! This module is working just fine. You've done a commendable service, saving us significant shippping dollars, by adding the UPS rural cost adjustments. I used the upsxml mod you contributed for prior versions of Zen for the same reasons. Tidying up this loose end keeps the international folks from being put off by a cryptic error message. Your hard and precise work is greatly appreciated. :thumbsup:

drd

25 Jun 2006, 3:41 PM
#6
stagebrace avatar

stagebrace

Totally Zenned

Join Date:
Jan 2005
Location:
Tennessee
Posts:
985
Plugin Contributions:
0

Re: UPS with Rural Destination Surcharge

Your words are far to great for little ol me. I forward them to the FOUNDERS!