If this is your first visit, check our documentation. To post, register or login.
Forums / Code Matters / Bug Reports / [Fixed - See post 26] USPS International shipping problem...

[Fixed - See post 26] USPS International shipping problem...

Locked

Started by doooomed on 2 Jan 2011, 5:38 PM · Views: 63,885

Results 181 to 200 of 238
This thread is locked. New replies are disabled.
11 Mar 2011, 12:40 PM
#181
treece avatar

treece

New Zenner

Join Date:
Aug 2008
Posts:
47
Plugin Contributions:
0

Post #181 by treece

Shipping from zip code 06033 testing to addresses in Canada and UK for a .4 lb package. Domestic First Class shows up fine, as does Priority Mail and UPS Standard.

Enable USPS Shipping
True

Enter the USPS Web Tools User ID


Which server to use
production

Handling Fee
0

Handling Per Order or Per Box
Box

Tax Class
Taxable Goods

Tax Basis
Shipping

Shipping Zone
--none--

Sort Order
0

All Packages are Machinable
False

USPS Options
Display weight, Display transit time

Domestic Shipping Methods
PRIORITY, FIRST CLASS

International Shipping Methods
Priority Mail International, First Class Mail Int Package

Debug Mode
Off

Tare is set to all zeros.

Thanks for any help.

11 Mar 2011, 1:57 PM
#182
ajeh avatar

ajeh

Oba-san

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

Post #182 by ajeh

Could you go to the Tools ... Developers Tool Kit ... and in the bottom input box do a search on:
USPS GXG Envelopes

and select Catalog then 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!

11 Mar 2011, 2:14 PM
#183
treece avatar

treece

New Zenner

Join Date:
Aug 2008
Posts:
47
Plugin Contributions:
0

Post #183 by treece

Line #119 : 'Global Express Envelopes' => 'USPS GXG<sup>&trade;</sup> Envelopes**', // ID="12" 'USPS GXG Envelopes'

11 Mar 2011, 2:18 PM
#184
ajeh avatar

ajeh

Oba-san

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

Post #184 by ajeh

That looks like one of the older USPS copies ... could you download the USPS January 2, 2011 C from post #26 and follow all of the instructions ...
http://www.zen-cart.com/forum/showthread.php?t=171314&highlight=USPS+January+2011

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!

11 Mar 2011, 2:54 PM
#185
treece avatar

treece

New Zenner

Join Date:
Aug 2008
Posts:
47
Plugin Contributions:
0

Post #185 by treece

Thank you - it worked this time. I don't know why, but uploaded the new file BEFORE removing it did the trick. I believe I removed the module first, and THEN uploaded.

You are amazing!!! :clap:

11 Mar 2011, 3:05 PM
#186
ajeh avatar

ajeh

Oba-san

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

Post #186 by ajeh

You are most welcome ... thanks for the update that the problem was having the wrong version of the USPS January 2, 2011 shipping module installed ... :smile:

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!

11 Mar 2011, 4:10 PM
#187
treece avatar

treece

New Zenner

Join Date:
Aug 2008
Posts:
47
Plugin Contributions:
0

Post #187 by treece

The strange thing was that I DID download and install the updated version twice. When I did a search in Developer's tool kit for usps.php it came up with the correct version but still wasn't working. When I uploaded the new version, then removed, then installed that did the trick. I don't know if it was a fluke, but I posted that just in case it helps someone else.

Thanks again.

11 Mar 2011, 4:48 PM
#188
immortalitea avatar

immortalitea

New Zenner

Join Date:
Dec 2004
Posts:
65
Plugin Contributions:
0

Post #188 by immortalitea

immortalitea:

I recently upgraded to 1.3.9h. I followed the instruction in post 26 as best I could and changed the rounding to 2 digits. But I have the following two odd problems.

  1. The USPS modules shows as installed (i.e. the dot is green) but I do not get a "remove" option. so I can't follow the instructions in #26 exactly. I did try toggling the enable from True to False but I don't think this is what you meant. Maybe because of this I have the following problem also.

  2. I see most international shipping options but not "First Class International" My test item only weighs 0.4 lbs.

Suggestions Please ?

I checked for old backups and I don't see any. Also tried this morning again deleting the usps.php file and reinstalling the one in the link of post 26. I'm still seeing the same problems. Other ideas ?

11 Mar 2011, 4:51 PM
#189
ajeh avatar

ajeh

Oba-san

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

Post #189 by ajeh

Look in the directory:
/includes/modules/shipping

do you have any renamed files?

Are you generating debug logs in the:
/cache

directory if you look and refresh your FTP?

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!

11 Mar 2011, 4:59 PM
#190
immortalitea avatar

immortalitea

New Zenner

Join Date:
Dec 2004
Posts:
65
Plugin Contributions:
0

Post #190 by immortalitea

Ajeh:

Look in the directory:
/includes/modules/shipping

do you have any renamed files?

Are you generating debug logs in the:
/cache

directory if you look and refresh your FTP?

Definitely no renamed files. I just now turned on "debug" mode and then ran a test purchase for an international customer. Still no joy. I also do not see any new debug files in the cache directory. I did receive the debug data via email. It is however, a bit daunting to decipher.

11 Mar 2011, 5:06 PM
#191
ajeh avatar

ajeh

Oba-san

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

Post #191 by ajeh

Could you go to the Tools ... Developers Tool Kit ... and in the bottom input box do a search on:
USPS GXG Envelopes

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!

11 Mar 2011, 5:13 PM
#192
immortalitea avatar

immortalitea

New Zenner

Join Date:
Dec 2004
Posts:
65
Plugin Contributions:
0

Post #192 by immortalitea

I received the following,

Searching 1037 files ... for: USPS GXG Envelopes

MYSERVER/includes/modules/shipping/usps.php

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())");

11 Mar 2011, 5:21 PM
#193
ajeh avatar

ajeh

Oba-san

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

Post #193 by ajeh

And when you go to the Modules ... Shipping ... you do not see an debug logs in the:
/cache

directory?

Is that directory set to 777 or 755 depending on your server so that it is writable? :unsure:

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!

11 Mar 2011, 5:32 PM
#194
immortalitea avatar

immortalitea

New Zenner

Join Date:
Dec 2004
Posts:
65
Plugin Contributions:
0

Post #194 by immortalitea

Hmmm, to make sure I'm following you. When you first asked about the cache directory, I assumed you meant MYSERVER/cache which has some debugs from about a week ago but nothing recent. From your last post I gather their should be a includes/modules/shipping/cache directory ? There was not one. So I just created one and set permissions to 777. I ran a test transaction, same result, I see other usps international shipping options but not First class, and there are no debug files in the new cache directory.

11 Mar 2011, 5:38 PM
#195
ajeh avatar

ajeh

Oba-san

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

Post #195 by ajeh

No there is not a directory:
/includes/shipping/cache

just the main one:
/cache

On the Modules ... Shipping ... do you see the right panel at all?

Do you see the line below the Shipping modules that reads similar to:
Module Directory: /home/yourusername/public_html/includes/modules/shipping/

If not, can you check that all of the files on the server in the directory:
/includes/modules/shipping

contain code ...

and that all of the files in the directory on the server:
/includes/languages/english/modules/shipping

contain the language file defines ...

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!

11 Mar 2011, 5:51 PM
#196
immortalitea avatar

immortalitea

New Zenner

Join Date:
Dec 2004
Posts:
65
Plugin Contributions:
0

Post #196 by immortalitea

Ajeh:

No there is not a directory:
/includes/shipping/cache

just the main one:
/cache

OK, deleted the includes/modules/shipping/cache

Ajeh:

On the Modules ... Shipping ... do you see the right panel at all?

Yes, but there is no "Remove" button only an "install" The status indicator is green and usps shipping is working.

Ajeh:

Do you see the line below the Shipping modules that reads similar to:
Module Directory: /home/yourusername/public_html/includes/modules/shipping/

Yes, it is there.

Ajeh:

If not, can you check that all of the files on the server in the directory:
/includes/modules/shipping

contain code ...

and that all of the files in the directory on the server:
/includes/languages/english/modules/shipping

contain the language file defines ...

Checked this anyway, includes/modules/shipping/usps.php has code. I don't know the complete list of defines needed but /includes/languages/modules/shipping/usps.php does have about 12 defines.

11 Mar 2011, 5:55 PM
#197
ajeh avatar

ajeh

Oba-san

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

Post #197 by ajeh

Are you using Sort Orders on any of your shipping modules?

Do you have any shipping modules installed that you are not using?

If you click on the USPS shipping module, what do you see in the right panel right now?

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!

11 Mar 2011, 6:05 PM
#198
immortalitea avatar

immortalitea

New Zenner

Join Date:
Dec 2004
Posts:
65
Plugin Contributions:
0

Post #198 by immortalitea

All Shipping modules have sort order "0"

I only have FreeOptions, UPS and USPS modules installed and I'm using all three.

Attached is a screen shot of my shipping modules screen. (I've deliberately omitted the Modules Directory line for security reasons. )

11 Mar 2011, 6:10 PM
#199
ajeh avatar

ajeh

Oba-san

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

Post #199 by ajeh

Click the USPS shipping module ...

Click INSTALL ...

Click the USPS shipping module ...

Do you now see the REMOVE button?

If so, click REMOVE ...

Do you now see the red dot on USPS shipping module?

If so, click the INSTALL ...

Can you now edit the settings on the USPS shipping module?

If so, can you save them and then the next time you click on USPS shipping module, do you see the REMOVE button and the current settings?

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!

11 Mar 2011, 6:19 PM
#200
immortalitea avatar

immortalitea

New Zenner

Join Date:
Dec 2004
Posts:
65
Plugin Contributions:
0

Post #200 by immortalitea

Ajeh:

Click the USPS shipping module ...

Click INSTALL ...

I see the Install options with my current selections checked.

Ajeh:

Click the USPS shipping module ...

Do you now see the REMOVE button?

Clicking on the USPS module at this point does nothing. I can only click on either "Cancel" or "Update" Either one takes me back where I started (i.e. the screen shot in my last post)

By the way, I'm really grateful for the help.