Zen Cart Logo
Forums / Addon Shipping Modules / BETA USPS and UPS

BETA USPS and UPS

Locked

Views: 10,784

Results 1 to 20 of 49
This thread is locked. New replies are disabled.
16 Mar 2011, 5:54 PM
#1
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

BETA USPS and UPS

** BETA ONLY ** BETA ONLY ** BETA ONLY **

One of the problems with USPS and UPS is obtaining quotes for US Islands and Territories regardless of how the Customer sets up their Shipping address.

For Example, a Customer may setup Shipping for Guam as
Country: United States
State: Guam
City: Yigo
Zip Code: 96929

Or, set it up as:
Country: Guam
State: Yigo
City: Yigo
Zip Code: 96929

This will cause issues where only one or the other shipping module will work.

Another issue is that the 5 digits allowed by USPS changes based on National and Internation shipping and forces some shops to edit the USPS shipping module to manually change the code to address this issue. This is now built into the Beta version.

Now, these two modules also allow for separate Handling Fees for National and International Orders, again these are based on the translation of Countries and States that conflict on shipping that is part of the United States.

It would be helpful if some of the more adventurous members of our forum tested these two modules and tried to break them.

Please test these modules and report your results and if you have any issues with them as a guest or customer on your sites.

Of particular interest is testing for shipping to:
Guam
Puerto Rico
Northern Mariana Islands
Virgin Islands US
American Samoa
Micronesia, Federated States of
Federated States of Micronesia
Palau

as either the Country or as the State when the Country is the United States.

Any other issues would also be appreciated.

Thank you for your help in testing these BETA versions of the UPS and USPS shipping modules.

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

19 Sep 2011, 10:15 PM
#2
scottj avatar

scottj

New Zenner

Join Date:
Aug 2011
Posts:
36
Plugin Contributions:
0

Re: BETA USPS and UPS

Hi Ajeh,

Newbie here... see this post is dated last March. Is the mod still in beta testing? Update? Based on my questions just posted to this sub-forum today, looks like it could solve a couple of my problems.

THANKS!
Scott

19 Sep 2011, 10:35 PM
#3
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: BETA USPS and UPS

I would start with the current UPS that comes with v1.3.9h and get the current USPS January 2, 2011 C version from post #26:
http://www.zen-cart.com/forum/showthread.php?t=171314

Make sure that those are working before you try using a beta version ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

1 Nov 2011, 3:36 AM
#4
webstar59 avatar

webstar59

New Zenner

Join Date:
Jun 2011
Location:
California
Posts:
63
Plugin Contributions:
0

Re: BETA USPS and UPS

This qustion is not about the beta. I need to know how to set the shipping price sort order to show the lowest price first.

I thought I'ed ask Ajeh becase this user knows everything about zen-cart.

Thanks for any help

1 Nov 2011, 2:02 PM
#5
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: BETA USPS and UPS

To sort by price from low to hig, in the usps.php shipping module, find the line:

    return ((sizeof($rates) > 0) ? $rates : false);

and change to:

    $result = array_reverse($rates);
    $rates = $result;
    return ((sizeof($rates) > 0) ? $rates : false);

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

1 Nov 2011, 5:40 PM
#6
webstar59 avatar

webstar59

New Zenner

Join Date:
Jun 2011
Location:
California
Posts:
63
Plugin Contributions:
0

Re: BETA USPS and UPS

Ajeh:

To sort by price from low to hig, in the usps.php shipping module, find the line:

return ((sizeof($rates) > 0) ? $rates : false);
> 
> and change to:
> ```
    $result = array_reverse($rates);
    $rates = $result;
    return ((sizeof($rates) > 0) ? $rates : false);

Thank you for your help, That works, A OK.

Sorry to be a bug, but
how can I do the same for the UPS shipping module. not sure what array to change?

1 Nov 2011, 5:50 PM
#7
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: BETA USPS and UPS

You can try changing in the ups.php the line:

    return $returnval;

to read:

    $result = array_reverse($returnval);
    $returnval = $result;
    return $returnval;

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

1 Nov 2011, 6:17 PM
#8
webstar59 avatar

webstar59

New Zenner

Join Date:
Jun 2011
Location:
California
Posts:
63
Plugin Contributions:
0

Re: BETA USPS and UPS

Ajeh:

You can try changing in the ups.php the line:

return $returnval;
> 
> to read:
> ```
    $result = array_reverse($returnval);
    $returnval = $result;
    return $returnval;

Thanks this works A OK.
Thank you **Ajeh **.I’ve seen you help allot of zen users, you have all the right answers. That’s why I turned to you, Thanks again.

1 Nov 2011, 6:30 PM
#9
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: BETA USPS and UPS

You are most welcome ... thanks for the update that this is working for you ... and remember us when you are rich and famous! :cool:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

8 Nov 2011, 6:25 PM
#10
webstar59 avatar

webstar59

New Zenner

Join Date:
Jun 2011
Location:
California
Posts:
63
Plugin Contributions:
0

Re: BETA USPS and UPS

When will the USPS and UPS be out of Beta?

And or is any users testing this update. If not maybe you should
bump this thread to the top of the forum to get more testers.

I will do some testing of my own.

Thank you Ajeh for the time you put in on this module

29 Nov 2011, 8:28 PM
#11
jsquared avatar

jsquared

New Zenner

Join Date:
Dec 2005
Location:
Kalamazoo, MI
Posts:
65
Plugin Contributions:
0

Re: BETA USPS and UPS

Is this different from the modded USPS module in the add-ons section? That one has an option now to sort rates by price
Posted via Mobile Device

J.J. Meddaugh
http://www.atguys.com

29 Nov 2011, 11:35 PM
#12
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: BETA USPS and UPS

This is not the same as Marcos USPS Ratev4 ...

His has an option for the Sort Order of the display by Unsorted, Alpha or by Price ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

2 Jan 2012, 1:33 PM
#13
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Re: BETA USPS and UPS

and now we are in the new year and USPS international rates are not working again. How are we to get a working USPS module? Will anyone on the zen cart team fool with this since it's no longer a part of the default install in 1.5?

The full-time Zen Cart Guru. WizTech4ZC.com
New template for 2.0 viewable here: 2.0 Demo

2 Jan 2012, 2:10 PM
#14
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: BETA USPS and UPS

The UPS and USPS for v1.5 are in the Free Software Add Ons ...

UPS
http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=1963

USPS
http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=1962

Both are simple modules to install ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

2 Jan 2012, 2:20 PM
#15
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Re: BETA USPS and UPS

I assume those will be fine with 1.3.9h and also assume you haven't seen any other complaints about international USPS yet this year? It doesn't seem to be working right now.

The full-time Zen Cart Guru. WizTech4ZC.com
New template for 2.0 viewable here: 2.0 Demo

2 Jan 2012, 4:54 PM
#16
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: BETA USPS and UPS

Those work with v1.5 ... this is why they are labeled as v1.5 ...

NOTE: They should work with v1.3.9h as well ...

Are you using a current version of USPS and UPS? What are you using that you are having issues with International?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

2 Jan 2012, 7:32 PM
#17
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Re: BETA USPS and UPS

international isn't being served up as an option - I did have to change that number in the mod to get it to work in the first place that we found was necessary last year.

The full-time Zen Cart Guru. WizTech4ZC.com
New template for 2.0 viewable here: 2.0 Demo

2 Jan 2012, 7:49 PM
#18
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: BETA USPS and UPS

If you go to the Tools ... Developers Tool Kit ... and in the bottom input box enter:
USPS GXG

and select Catalog ... and click Search ...

what comes up?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

2 Jan 2012, 7:59 PM
#19
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Re: BETA USPS and UPS

Line #117 : 'Global Express Envelopes' => 'USPS GXG Envelopes',

Line #138 : 'USPS GXG Envelopes' => 'USPS GXG Envelopes**', // ID="12" 'USPS GXG Envelopes'

Line #325 : 'Global Express, Global Express Non-Doc Rect, Global Express Non-Doc Non-Rect, USPS GXG Envelopes, Express Mail Int, Express Mail Int Flat Rate Env, Express Mail Int Legal, Priority Mail International, Priority Mail Int Flat Rate Env, Priority Mail Int Flat Rate Small Box, Priority Mail Int Flat Rate Med Box, Priority Mail Int Flat Rate Lrg Box, Priority Mail Int DVD, Priority Mail Int Lrg Video, Priority Mail Int Legal Flat Rate Env, Priority Mail Int Padded Flat Rate Env, Priority Mail Int Gift Card Flat Rate Env, Priority Mail Int Small Flat Rate Env, First Class Mail Int Lrg Env, First Class Mail Int Package, First Class Mail Int Letter',

Line #327 : array('Global Express', 'Global Express Non-Doc Rect', 'Global Express Non-Doc Non-Rect', 'USPS GXG Envelopes', 'Express Mail Int', 'Express Mail Int Flat Rate Env', 'Express Mail Int Legal', 'Priority Mail International', 'Priority Mail Int Flat Rate Env', 'Priority Mail Int Flat Rate Small Box', 'Priority Mail Int Flat Rate Med Box', 'Priority Mail Int Flat Rate Lrg Box', 'Priority Mail Int DVD', 'Priority Mail Int Lrg Video', 'Priority Mail Int Legal Flat Rate Env', 'Priority Mail Int Padded Flat Rate Env', 'Priority Mail Int Gift Card Flat Rate Env', 'Priority Mail Int Small Flat Rate Env', 'First Class Mail Int Lrg Env', 'First Class Mail Int Package', 'First Class Mail Int Letter'), ', now())");

The full-time Zen Cart Guru. WizTech4ZC.com
New template for 2.0 viewable here: 2.0 Demo

3 Jan 2012, 12:12 AM
#20
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: BETA USPS and UPS

What are your settings in the Configuration ... Shipping/Packaging ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!