Forums / Addon Shipping Modules / USPS module ver 2013 7-28 J No International GXG quotes

USPS module ver 2013 7-28 J No International GXG quotes

Views: 6,267

Results 1 to 20 of 28
29 Jul 2013, 7:15 PM
#1
chibipaw avatar

chibipaw

Zen Follower

Join Date:
Jul 2011
Posts:
167
Plugin Contributions:
0

USPS module ver 2013 7-28 J No International GXG quotes

Just installed the latest update like everyone else scrambling to minimize down time.
Everything works fine, but GXG quotes are not being displayed for my international customers.

  • Latest zen cart 1.51
  • Removed module, have RTFM and followed the FM.
  • Installed and tested all methods Priority , EMS for domestic. Priority, EMS , GXG envelope
  • No specific error codes generated.
  • Tested addresses California, New York, London, and Moscow
  • GXG envelopes works, but not GXG package.

Any insights will be very helpful, and thank you for making this update.

29 Jul 2013, 7:49 PM
#2
ajeh avatar

ajeh

Oba-san

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

Re: USPS module ver 2013 7-28 J No International GXG quotes

The porblem is related to this section of the usps.php code file:

// Small Flat Rate Box - 'maxLength'=>'8.625', 'maxWidth'=>'5.375','maxHeight'=>'1.625'
// Global Express Guaranteed - Minimum 'maxLength'=>'9.5', 'maxHeight'=>'5.5' Maximum - 'maxLength'=>'46', 'maxWidth'=>'35', 'maxHeight'=>'46' and max. length plus girth combined 108"
// NOTE: sizes for Small Flat Rate Box prevent Global Express Guaranteed
// NOTE: sizes for Global Express Guaranteed prevent Small Flat Rate Box
// Not set up:
// Video - 'maxLength'=>'9.25', 'maxWidth'=>'6.25','maxHeight'=>'2'
// DVD - 'maxLength'=>'7.5625', 'maxWidth'=>'5.4375','maxHeight'=>'.625'
// defaults
// MODULE_SHIPPING_USPS_LENGTH 8.625
// MODULE_SHIPPING_USPS_WIDTH  5.375
// MODULE_SHIPPING_USPS_HEIGHT 1.625

What shipping methods do you use for the Domestic?

What shipping methods do you use for the 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!

29 Jul 2013, 8:03 PM
#3
chibipaw avatar

chibipaw

Zen Follower

Join Date:
Jul 2011
Posts:
167
Plugin Contributions:
0

Re: USPS module ver 2013 7-28 J No International GXG quotes

Domestic methods are:
Priority
Priority Express
Global Exp Guar(GXG)

Additional options selected:
Insurance, handling fee 2, handling per order

International methods are:
Priority
Priority Express
USPS GXG Envs
Global Exp Guar(GXG)

Additional Options selected:
Handling fee 2, handling pre order

29 Jul 2013, 8:06 PM
#4
ajeh avatar

ajeh

Oba-san

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

Re: USPS module ver 2013 7-28 J No International GXG quotes

Can you check that again? Domestic doesn't have a GXG ...

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!

29 Jul 2013, 8:11 PM
#5
chibipaw avatar

chibipaw

Zen Follower

Join Date:
Jul 2011
Posts:
167
Plugin Contributions:
0

Re: USPS module ver 2013 7-28 J No International GXG quotes

Ajeh:

Can you check that again? Domestic doesn't have a GXG ...

my apologies. No GXG was elected for domestic. Only International.

29 Jul 2013, 8:27 PM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: USPS module ver 2013 7-28 J No International GXG quotes

Can you test an idea quickly, and see if it fixes your problem?

See my post here: http://www.zen-cart.com/showthread.php?209311-USPS-Shipping-Version-2013-07-28-J-Preg_Match-Warnings&p=1212296#post1212296

After making the change on each of those 3 lines, do your GXG quotes come back properly?

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

29 Jul 2013, 11:45 PM
#7
chibipaw avatar

chibipaw

Zen Follower

Join Date:
Jul 2011
Posts:
167
Plugin Contributions:
0

Re: USPS module ver 2013 7-28 J No International GXG quotes

Applied the code changes listed in that post.
Emptied cache, and retried.
GXG still does not appear as an option. No apparent error message.

DrByte:

Can you test an idea quickly, and see if it fixes your problem?

See my post here: http://www.zen-cart.com/showthread.php?209311-USPS-Shipping-Version-2013-07-28-J-Preg_Match-Warnings&p=1212296#post1212296

After making the change on each of those 3 lines, do your GXG quotes come back properly?

29 Jul 2013, 11:54 PM
#8
ajeh avatar

ajeh

Oba-san

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

Re: USPS module ver 2013 7-28 J No International GXG quotes

There are two shipping methods with GXG in them ...

Are you trying to get both:
USPS GXG Envs
Global Exp Guar(GXG)

to show at the same time?

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!

29 Jul 2013, 11:55 PM
#9
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: USPS module ver 2013 7-28 J No International GXG quotes

A new Version J3 has been published since then, which fixes International and GXG issues:
http://www.zen-cart.com/downloads.php?do=file&id=1292

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

30 Jul 2013, 12:26 AM
#10
chibipaw avatar

chibipaw

Zen Follower

Join Date:
Jul 2011
Posts:
167
Plugin Contributions:
0

Re: USPS module ver 2013 7-28 J No International GXG quotes

Just updated to version J3. Module was uninstalled, new files copied in, reinstalled.
GXG does not show up as an option.

Ajeh: I am currently only interested in having GXG for production. But I was just trying every option just to see what works and what doesn't.

30 Jul 2013, 12:57 AM
#11
ajeh avatar

ajeh

Oba-san

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

Re: USPS module ver 2013 7-28 J No International GXG quotes

In the default settings for USPS ... the dimensions allow all of the shipping methods for BOTH Domestic and International shipping to show ... EXCEPT Global Express Guaranteed

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!

30 Jul 2013, 1:01 AM
#12
ajeh avatar

ajeh

Oba-san

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

Re: USPS module ver 2013 7-28 J No International GXG quotes

Sorry I hit submit before I was done ... :blush:

To show Global Express Guaranteed ... you need larger dimensions as stated inside the usps.php code ... but that will PREVENT other shipping methods from show both Domestic and International ...

I have to run through all the methods to check specifics on which ones will not show

// Global Express Guaranteed - Minimum 'maxLength'=>'9.5', 'maxHeight'=>'5.5' Maximum - 'maxLength'=>'46', 'maxWidth'=>'35', 'maxHeight'=>'46' and max. length plus girth combined 108"

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!

30 Jul 2013, 1:20 AM
#13
chibipaw avatar

chibipaw

Zen Follower

Join Date:
Jul 2011
Posts:
167
Plugin Contributions:
0

Re: USPS module ver 2013 7-28 J No International GXG quotes

Ahhh. okay, that can be a real problem and not quite a solution.
As most people , including myself would like other options such as priority and ems as well as GXG to show as options for customers to pick.
I'll patiently wait for a proper solution to this problem then. At least for the most part, customers can still shop.

Ajeh:

Sorry I hit submit before I was done ... :blush:

To show Global Express Guaranteed ... you need larger dimensions as stated inside the usps.php code ... but that will PREVENT other shipping methods from show both Domestic and International ...

I have to run through all the methods to check specifics on which ones will not show

// Global Express Guaranteed - Minimum 'maxLength'=>'9.5', 'maxHeight'=>'5.5' Maximum - 'maxLength'=>'46', 'maxWidth'=>'35', 'maxHeight'=>'46' and max. length plus girth combined 108"

30 Jul 2013, 1:23 AM
#14
ajeh avatar

ajeh

Oba-san

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

Re: USPS module ver 2013 7-28 J No International GXG quotes

I am working on a better solution as I finally have you ... a guy who really needs the mixed lot ... :cool:

This means you have become a guinea pig ... err ... important helper for fixing that major issue ... :lookaroun

I will be looking at the fix in about 30-60 minutes or so ... so the solution may be delayed a bit for you ...

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!

30 Jul 2013, 1:32 AM
#15
chibipaw avatar

chibipaw

Zen Follower

Join Date:
Jul 2011
Posts:
167
Plugin Contributions:
0

Re: USPS module ver 2013 7-28 J No International GXG quotes

yay! spinny wheel and water bottle feeder time!
Alright , ready to be poke pry and probed.. :laugh:

30 Jul 2013, 2:53 AM
#16
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: USPS module ver 2013 7-28 J No International GXG quotes

Mind testing this briefly?

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

30 Jul 2013, 3:11 AM
#17
chibipaw avatar

chibipaw

Zen Follower

Join Date:
Jul 2011
Posts:
167
Plugin Contributions:
0

Re: USPS module ver 2013 7-28 J No International GXG quotes

Yup. It worked. GXG showed up for both of my test addresses in London and Moscow.

DrByte:

Mind testing this briefly?

30 Jul 2013, 4:14 AM
#19
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: USPS module ver 2013 7-28 J No International GXG quotes

Great!
Curious whether it's giving the rates you expected. Kinda depends on the dimensions of your packages though.

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

30 Jul 2013, 4:38 AM
#20
chibipaw avatar

chibipaw

Zen Follower

Join Date:
Jul 2011
Posts:
167
Plugin Contributions:
0

Re: USPS module ver 2013 7-28 J No International GXG quotes

My gut feeling, and looks like it is the proper rate quoted. I'll have to actually run it in production and checksum within our production environment to see how accurate it is.
Previous versions actually has a problem with undersizing the package, which often result a lower than required rate quote.
But with the new individual handling fee attributes, that can also help tune it to the business requirements.

DrByte:

Great!
Curious whether it's giving the rates you expected. Kinda depends on the dimensions of your packages though.