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 201 to 220 of 238
This thread is locked. New replies are disabled.
11 Mar 2011, 6:23 PM
#201
ajeh avatar

ajeh

Oba-san

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

Post #201 by ajeh

IF you go to phpMyAdmin and select your database and run this in the SQL do you see about 14 settings come up for USPS:

SELECT *
FROM `configuration`
WHERE `configuration_key` LIKE '%MODULE_SHIPPING_USPS%'

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:32 PM
#202
immortalitea avatar

immortalitea

New Zenner

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

Post #202 by immortalitea

I see 29 configurations and they repeat. So, seems like the DB has got duplicate entries that are confusing things? Do I just delete half and if so, how do I know which half to delete? I see there is a "date Added" column, just delete the older ones?

11 Mar 2011, 6:51 PM
#203
immortalitea avatar

immortalitea

New Zenner

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

Post #203 by immortalitea

Correction, there are 679 entries. Seems to be the same ones repeating over and over. Could be duplicate entries have been made every time I changed something in this module ?

11 Mar 2011, 6:59 PM
#204
ajeh avatar

ajeh

Oba-san

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

Post #204 by ajeh

If you look at the structure for the table:
configuration

What index do you see? :unsure:

You will want to delete all of the configuration_key that start with:
MODULE_SHIPPING_USPS_

Then go to your Modules ... Shipping ... and make sure that you see the red dot ...

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, 7:10 PM
#205
immortalitea avatar

immortalitea

New Zenner

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

Post #205 by immortalitea

My Indexes appear as per the attached screen shot,

11 Mar 2011, 7:38 PM
#206
immortalitea avatar

immortalitea

New Zenner

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

Post #206 by immortalitea

Success! That did the trick. I don't know how the DB got so hosed in the first place but things seem to be working now. I did indeed see the red dot after deleting all the necessary DB entries. Did the install, I now see the "remove" button and First Class International is working now.

No way I would have resolved this one without your help Linda. Thanks so much! Coffee and Donuts headed your way again.

11 Mar 2011, 7:39 PM
#207
drbyte avatar

drbyte

Sensei

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

Post #207 by drbyte

Essentially the same issue as this: http://www.zen-cart.com/forum/showthread.php?t=176023

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

11 Mar 2011, 7:57 PM
#208
ajeh avatar

ajeh

Oba-san

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

Post #208 by ajeh

Yes cleaning those duplicates up is important, and rebuilding the unique key that DrByte pointed out is also needed as it is missing from your configuration table ...

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, 8:02 PM
#209
immortalitea avatar

immortalitea

New Zenner

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

Post #209 by immortalitea

Yes, ran the sql command in DrBytes other post and I can see I have a bunch of dups. Any easy way to find and delete all of these or I should resign myself to crawling through the configuration table manually ? Any suggestion how I can avoid this problem in the future?

11 Mar 2011, 11:15 PM
#210
ajeh avatar

ajeh

Oba-san

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

Post #210 by ajeh

Browse the configuration table in phpMyAdmin and sort on configuration_key ...

When you find duplicates, delete the higher configuration_id ...

NOTE: backup your database before attempting to clean it ...

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 Apr 2011, 4:21 AM
#211
tom_in_az avatar

tom_in_az

New Zenner

Join Date:
Apr 2011
Location:
Arizona
Posts:
5
Plugin Contributions:
0

Post #211 by tom_in_az

I just started using Zen Cart 1.3.9h, and was having issues with shipping as well. So installed that fix from post #26 (even though it was probably already part of this version) and turned on debugging. It appears that the USPS servers were not able to communicate with Zen Cart in test mode and therefore the USPS servers would not activate my account.

I spent the afternoon talking with the USPS support people via email, and they eventually asked what shopping cart software I was using so they can manually authorize the account. After they did so the shipping module is now working.

I figured that it would be a good idea to post this for others to see. If you are having issues with that module, put on the debugging and have the info emailed to you. It kept me from pulling my hair out!

Now to solve other issues I am having. Thanks for an active forum!
Tom

8 Apr 2011, 5:48 AM
#212
ajeh avatar

ajeh

Oba-san

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

Post #212 by ajeh

The test server with USPS rarely works ... just go to Production and call and ask USPS to activate your account and all will be working with the Jaunary 2, 2011 C version from post #26 ...

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 Apr 2011, 6:23 AM
#213
tom_in_az avatar

tom_in_az

New Zenner

Join Date:
Apr 2011
Location:
Arizona
Posts:
5
Plugin Contributions:
0

Post #213 by tom_in_az

Thanks again for confirming that is all that was needed. ^5

8 Apr 2011, 5:57 PM
#215
ajeh avatar

ajeh

Oba-san

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

Post #215 by ajeh

As an update fix posted I had left out changing that and afraid the confusion may be there for awhile, until the next release of Zen Cart ...

But yes ... it would have helped add something to make the module stand out more as a current release with more to verify against ... :lamo:

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!

9 Apr 2011, 12:42 AM
#216
tom_in_az avatar

tom_in_az

New Zenner

Join Date:
Apr 2011
Location:
Arizona
Posts:
5
Plugin Contributions:
0

Post #216 by tom_in_az

Again, thanks :)

7 May 2011, 6:57 PM
#217
ltaylorbrown avatar

ltaylorbrown

New Zenner

Join Date:
Jun 2005
Posts:
39
Plugin Contributions:
0

Post #217 by ltaylorbrown

I'm using a fresh install of zen cart and installed the usps shipping module as well as the usps patch from post 26. My problem is that i've selected first class shipping as an option, but it's not showing up. Only priority and express mail options are showing. My store isnt live, i'm still in testing. I've been going through the forums to see if someone else had this issue but cant find one similar. Thanks in advance for any help.

7 May 2011, 6:59 PM
#218
tomarriola avatar

tomarriola

Zen Follower

Join Date:
Oct 2004
Posts:
206
Plugin Contributions:
0

Post #218 by tomarriola

If the weight is too high 1st class isn't offered. Add a 1 oz item to the cart and see if 1st class shows.
Tom

7 May 2011, 7:09 PM
#219
ltaylorbrown avatar

ltaylorbrown

New Zenner

Join Date:
Jun 2005
Posts:
39
Plugin Contributions:
0

Post #219 by ltaylorbrown

Hi Tom and thanks for the assist. I gave it a try and still no luck.

7 May 2011, 7:21 PM
#220
ltaylorbrown avatar

ltaylorbrown

New Zenner

Join Date:
Jun 2005
Posts:
39
Plugin Contributions:
0

Post #220 by ltaylorbrown

I figured it out! :) I had to edit the "Package Tare Small to Medium - added percentage:weight". That fixed it. Thanks again for the help Tom.