Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

USPS Rate V4, Intl Rate V2 (official support thread)


Guest

Recommended Posts

@a.forever are you working on USPS Methods or USPS Rate V4, Intl Rate V2, or both?

 

I have been trying to get people to move over to the correct thread for USPS Methods v 5.2.1 or later here: Add-Ons

I know you have worked on the 5.2.1 in the past and posted here on this thread, but as you can see, I now have to ask you when you post something, what module are you referring to. I hope you can appreciate my efforts to help the community from being confused within the discussions. I certainly appreciate your contributions to the USPS Methods contribution. This is what I use. It's people like you that keep the OSC community alive.

 

And now I would like to ask you about my post regarding the last mod you provided in this thread. I also posted my comment here.

 

Thanks,

Alan :thumbsup:

Production:
osCommerce V. 2.3.4BS
VPS Box

Link to comment
Share on other sites

The differance between the 2 outputs is that the one I ran with my zip did not produce Domestic Special Services, International Services or International Extra services.

 

ok - here is the what the code produced as is:

 

Domestic Services:

 

Array

(

[0] => Array

(

[id] => 121

[text] => First-Class Mail<sup>®</sup> Large Envelope

)

 

[1] => Array

(

[id] => 15

[text] => First-Class Mail<sup>®</sup> Large Postcards

)

 

[2] => Array

(

[id] => 122

[text] => First-Class Mail<sup>®</sup> Letter

)

 

[3] => Array

(

[id] => 120

[text] => First-Class Mail<sup>®</sup> Parcel

)

 

[4] => Array

(

[id] => 123

[text] => First-Class Mail<sup>®</sup> Postcards

)

 

[5] => Array

(

[id] => 7

[text] => Library Mail

)

 

[6] => Array

(

[id] => 6

[text] => Media Mail<sup>®</sup>

)

 

[7] => Array

(

[id] => 1

[text] => Priority Mail 2-Day<sup>™</sup>

)

 

[8] => Array

(

[id] => 16

[text] => Priority Mail 2-Day<sup>™</sup> Flat Rate Envelope

)

 

[9] => Array

(

[id] => 38

[text] => Priority Mail 2-Day<sup>™</sup> Gift Card Flat Rate Envelope

)

 

[10] => Array

(

[id] => 22

[text] => Priority Mail 2-Day<sup>™</sup> Large Flat Rate Box

)

 

[11] => Array

(

[id] => 44

[text] => Priority Mail 2-Day<sup>™</sup> Legal Flat Rate Envelope

)

 

[12] => Array

(

[id] => 17

[text] => Priority Mail 2-Day<sup>™</sup> Medium Flat Rate Box

)

 

[13] => Array

(

[id] => 29

[text] => Priority Mail 2-Day<sup>™</sup> Padded Flat Rate Envelope

)

 

[14] => Array

(

[id] => 28

[text] => Priority Mail 2-Day<sup>™</sup> Small Flat Rate Box

)

 

[15] => Array

(

[id] => 42

[text] => Priority Mail 2-Day<sup>™</sup> Small Flat Rate Envelope

)

 

[16] => Array

(

[id] => 40

[text] => Priority Mail 2-Day<sup>™</sup> Window Flat Rate Envelope

)

 

[17] => Array

(

[id] => 3

[text] => Priority Mail Express 1-Day<sup>™</sup>

)

 

[18] => Array

(

[id] => 55

[text] => Priority Mail Express 1-Day<sup>™</sup> Flat Rate Boxes

)

 

[19] => Array

(

[id] => 56

[text] => Priority Mail Express 1-Day<sup>™</sup> Flat Rate Boxes Hold For Pickup

)

 

[20] => Array

(

[id] => 13

[text] => Priority Mail Express 1-Day<sup>™</sup> Flat Rate Envelope

)

 

[21] => Array

(

[id] => 27

[text] => Priority Mail Express 1-Day<sup>™</sup> Flat Rate Envelope Hold For Pickup

)

 

[22] => Array

(

[id] => 2

[text] => Priority Mail Express 1-Day<sup>™</sup> Hold For Pickup

)

 

[23] => Array

(

[id] => 30

[text] => Priority Mail Express 1-Day<sup>™</sup> Legal Flat Rate Envelope

)

 

[24] => Array

(

[id] => 31

[text] => Priority Mail Express 1-Day<sup>™</sup> Legal Flat Rate Envelope Hold For Pickup

)

 

[25] => Array

(

[id] => 62

[text] => Priority Mail Express 1-Day<sup>™</sup> Padded Flat Rate Envelope

)

 

[26] => Array

(

[id] => 63

[text] => Priority Mail Express 1-Day<sup>™</sup> Padded Flat Rate Envelope Hold For Pickup

)

 

[27] => Array

(

[id] => 4

[text] => Standard Post<sup>®</sup>

)

 

)

 

Domestic Special Services:

 

Array

(

[0] => Array

(

[id] => 19

[text] => Adult Signature Required

)

 

[1] => Array

(

[id] => 20

[text] => Adult Signature Restricted Delivery

)

 

[2] => Array

(

[id] => 9

[text] => Certificate of Mailing

)

 

[3] => Array

(

[id] => 6

[text] => Collect on Delivery

)

 

[4] => Array

(

[id] => 1

[text] => Insurance

)

 

[5] => Array

(

[id] => 11

[text] => Priority Mail Express Insurance

)

 

[6] => Array

(

[id] => 8

[text] => Return Receipt

)

 

[7] => Array

(

[id] => 15

[text] => Signature Confirmation<sup>™</sup>

)

 

[8] => Array

(

[id] => 13

[text] => USPS Tracking<sup>™</sup>

)

 

)

 

International Services:

 

Array

(

[0] => Array

(

[id] => 14

[text] => First-Class Mail<sup>®</sup> International Large Envelope**

)

 

[1] => Array

(

[id] => 13

[text] => First-Class Mail<sup>®</sup> International Letter**

)

 

[2] => Array

(

[id] => 15

[text] => First-Class Package International Service<sup>™</sup>**

)

 

[3] => Array

(

[id] => 4

[text] => Global Express Guaranteed<sup>®</sup> (GXG)**

)

 

[4] => Array

(

[id] => 1

[text] => Priority Mail Express International<sup>™</sup>

)

 

[5] => Array

(

[id] => 26

[text] => Priority Mail Express International<sup>™</sup> Flat Rate Boxes

)

 

[6] => Array

(

[id] => 10

[text] => Priority Mail Express International<sup>™</sup> Flat Rate Envelope

)

 

[7] => Array

(

[id] => 17

[text] => Priority Mail Express International<sup>™</sup> Legal Flat Rate Envelope

)

 

[8] => Array

(

[id] => 27

[text] => Priority Mail Express International<sup>™</sup> Padded Flat Rate Envelope

)

 

[9] => Array

(

[id] => 2

[text] => Priority Mail International<sup>®</sup>

)

 

[10] => Array

(

[id] => 8

[text] => Priority Mail International<sup>®</sup> Flat Rate Envelope**

)

 

[11] => Array

(

[id] => 18

[text] => Priority Mail International<sup>®</sup> Gift Card Flat Rate Envelope**

)

 

[12] => Array

(

[id] => 11

[text] => Priority Mail International<sup>®</sup> Large Flat Rate Box

)

 

[13] => Array

(

[id] => 22

[text] => Priority Mail International<sup>®</sup> Legal Flat Rate Envelope**

)

 

[14] => Array

(

[id] => 9

[text] => Priority Mail International<sup>®</sup> Medium Flat Rate Box

)

 

[15] => Array

(

[id] => 23

[text] => Priority Mail International<sup>®</sup> Padded Flat Rate Envelope**

)

 

[16] => Array

(

[id] => 20

[text] => Priority Mail International<sup>®</sup> Small Flat Rate Envelope**

)

 

[17] => Array

(

[id] => 19

[text] => Priority Mail International<sup>®</sup> Window Flat Rate Envelope**

)

 

[18] => Array

(

[id] => 12

[text] => USPS GXG<sup>™</sup> Envelopes**

)

 

)

 

International Extra Services:

 

Array

(

[0] => Array

(

[id] => 6

[text] => Certificate of Mailing

)

 

[1] => Array

(

[id] => 1

[text] => Insurance

)

 

[2] => Array

(

[id] => 0

[text] => Registered Mail

)

 

[3] => Array

(

[id] => 2

[text] => Return Receipt

)

 

)

 

 

 

This is what it produced after I changed the source zip code to mine:

 

Domestic Services:

 

Array

(

[0] => Array

(

[id] => 121

[text] => First-Class Mail<sup>®</sup> Large Envelope

)

 

[1] => Array

(

[id] => 15

[text] => First-Class Mail<sup>®</sup> Large Postcards

)

 

[2] => Array

(

[id] => 122

[text] => First-Class Mail<sup>®</sup> Letter

)

 

[3] => Array

(

[id] => 120

[text] => First-Class Mail<sup>®</sup> Parcel

)

 

[4] => Array

(

[id] => 123

[text] => First-Class Mail<sup>®</sup> Postcards

)

 

[5] => Array

(

[id] => 7

[text] => Library Mail

)

 

[6] => Array

(

[id] => 6

[text] => Media Mail<sup>®</sup>

)

 

[7] => Array

(

[id] => 1

[text] => Priority Mail 2-Day<sup>™</sup>

)

 

[8] => Array

(

[id] => 16

[text] => Priority Mail 2-Day<sup>™</sup> Flat Rate Envelope

)

 

[9] => Array

(

[id] => 38

[text] => Priority Mail 2-Day<sup>™</sup> Gift Card Flat Rate Envelope

)

 

[10] => Array

(

[id] => 22

[text] => Priority Mail 2-Day<sup>™</sup> Large Flat Rate Box

)

 

[11] => Array

(

[id] => 44

[text] => Priority Mail 2-Day<sup>™</sup> Legal Flat Rate Envelope

)

 

[12] => Array

(

[id] => 17

[text] => Priority Mail 2-Day<sup>™</sup> Medium Flat Rate Box

)

 

[13] => Array

(

[id] => 29

[text] => Priority Mail 2-Day<sup>™</sup> Padded Flat Rate Envelope

)

 

[14] => Array

(

[id] => 28

[text] => Priority Mail 2-Day<sup>™</sup> Small Flat Rate Box

)

 

[15] => Array

(

[id] => 42

[text] => Priority Mail 2-Day<sup>™</sup> Small Flat Rate Envelope

)

 

[16] => Array

(

[id] => 40

[text] => Priority Mail 2-Day<sup>™</sup> Window Flat Rate Envelope

)

 

[17] => Array

(

[id] => 3

[text] => Priority Mail Express 1-Day<sup>™</sup>

)

 

[18] => Array

(

[id] => 55

[text] => Priority Mail Express 1-Day<sup>™</sup> Flat Rate Boxes

)

 

[19] => Array

(

[id] => 56

[text] => Priority Mail Express 1-Day<sup>™</sup> Flat Rate Boxes Hold For Pickup

)

 

[20] => Array

(

[id] => 13

[text] => Priority Mail Express 1-Day<sup>™</sup> Flat Rate Envelope

)

 

[21] => Array

(

[id] => 27

[text] => Priority Mail Express 1-Day<sup>™</sup> Flat Rate Envelope Hold For Pickup

)

 

[22] => Array

(

[id] => 2

[text] => Priority Mail Express 1-Day<sup>™</sup> Hold For Pickup

)

 

[23] => Array

(

[id] => 30

[text] => Priority Mail Express 1-Day<sup>™</sup> Legal Flat Rate Envelope

)

 

[24] => Array

(

[id] => 31

[text] => Priority Mail Express 1-Day<sup>™</sup> Legal Flat Rate Envelope Hold For Pickup

)

 

[25] => Array

(

[id] => 62

[text] => Priority Mail Express 1-Day<sup>™</sup> Padded Flat Rate Envelope

)

 

[26] => Array

(

[id] => 63

[text] => Priority Mail Express 1-Day<sup>™</sup> Padded Flat Rate Envelope Hold For Pickup

)

 

[27] => Array

(

[id] => 4

[text] => Standard Post<sup>®</sup>

)

 

)

 

 

Hope this helps

Link to comment
Share on other sites

That's as expected. as far as it goes. First Class is returning the corrected names for all services. I'm a bit worried about the second run. It's possible that it just timed out. It takes a long time to get the special services. If you have the time, please try that one again.

 

Regards

Jim

See my profile for a list of my addons and ways to get support.

Link to comment
Share on other sites

Here is run #2 with my zip. A lot more this time.

 

Domestic Services:

Array

(

[0] => Array

(

[id] => 121

[text] => First-Class Mail<sup>®</sup> Large Envelope

)

 

[1] => Array

(

[id] => 15

[text] => First-Class Mail<sup>®</sup> Large Postcards

)

 

[2] => Array

(

[id] => 122

[text] => First-Class Mail<sup>®</sup> Letter

)

 

[3] => Array

(

[id] => 120

[text] => First-Class Mail<sup>®</sup> Parcel

)

 

[4] => Array

(

[id] => 123

[text] => First-Class Mail<sup>®</sup> Postcards

)

 

[5] => Array

(

[id] => 7

[text] => Library Mail

)

 

[6] => Array

(

[id] => 6

[text] => Media Mail<sup>®</sup>

)

 

[7] => Array

(

[id] => 1

[text] => Priority Mail 2-Day<sup>™</sup>

)

 

[8] => Array

(

[id] => 16

[text] => Priority Mail 2-Day<sup>™</sup> Flat Rate Envelope

)

 

[9] => Array

(

[id] => 38

[text] => Priority Mail 2-Day<sup>™</sup> Gift Card Flat Rate Envelope

)

 

[10] => Array

(

[id] => 22

[text] => Priority Mail 2-Day<sup>™</sup> Large Flat Rate Box

)

 

[11] => Array

(

[id] => 44

[text] => Priority Mail 2-Day<sup>™</sup> Legal Flat Rate Envelope

)

 

[12] => Array

(

[id] => 17

[text] => Priority Mail 2-Day<sup>™</sup> Medium Flat Rate Box

)

 

[13] => Array

(

[id] => 29

[text] => Priority Mail 2-Day<sup>™</sup> Padded Flat Rate Envelope

)

 

[14] => Array

(

[id] => 28

[text] => Priority Mail 2-Day<sup>™</sup> Small Flat Rate Box

)

 

[15] => Array

(

[id] => 42

[text] => Priority Mail 2-Day<sup>™</sup> Small Flat Rate Envelope

)

 

[16] => Array

(

[id] => 40

[text] => Priority Mail 2-Day<sup>™</sup> Window Flat Rate Envelope

)

 

[17] => Array

(

[id] => 3

[text] => Priority Mail Express 1-Day<sup>™</sup>

)

 

[18] => Array

(

[id] => 55

[text] => Priority Mail Express 1-Day<sup>™</sup> Flat Rate Boxes

)

 

[19] => Array

(

[id] => 56

[text] => Priority Mail Express 1-Day<sup>™</sup> Flat Rate Boxes Hold For Pickup

)

 

[20] => Array

(

[id] => 13

[text] => Priority Mail Express 1-Day<sup>™</sup> Flat Rate Envelope

)

 

[21] => Array

(

[id] => 27

[text] => Priority Mail Express 1-Day<sup>™</sup> Flat Rate Envelope Hold For Pickup

)

 

[22] => Array

(

[id] => 2

[text] => Priority Mail Express 1-Day<sup>™</sup> Hold For Pickup

)

 

[23] => Array

(

[id] => 30

[text] => Priority Mail Express 1-Day<sup>™</sup> Legal Flat Rate Envelope

)

 

[24] => Array

(

[id] => 31

[text] => Priority Mail Express 1-Day<sup>™</sup> Legal Flat Rate Envelope Hold For Pickup

)

 

[25] => Array

(

[id] => 62

[text] => Priority Mail Express 1-Day<sup>™</sup> Padded Flat Rate Envelope

)

 

[26] => Array

(

[id] => 63

[text] => Priority Mail Express 1-Day<sup>™</sup> Padded Flat Rate Envelope Hold For Pickup

)

 

[27] => Array

(

[id] => 4

[text] => Standard Post<sup>®</sup>

)

 

)

 

Domestic Special Services:

Array

(

[0] => Array

(

[id] => 19

[text] => Adult Signature Required

)

 

[1] => Array

(

[id] => 20

[text] => Adult Signature Restricted Delivery

)

 

[2] => Array

(

[id] => 9

[text] => Certificate of Mailing

)

 

[3] => Array

(

[id] => 6

[text] => Collect on Delivery

)

 

[4] => Array

(

[id] => 1

[text] => Insurance

)

 

[5] => Array

(

[id] => 11

[text] => Priority Mail Express Insurance

)

 

[6] => Array

(

[id] => 8

[text] => Return Receipt

)

 

[7] => Array

(

[id] => 15

[text] => Signature Confirmation<sup>™</sup>

)

 

[8] => Array

(

[id] => 13

[text] => USPS Tracking<sup>™</sup>

)

 

)

 

International Services:

Array

(

[0] => Array

(

[id] => 14

[text] => First-Class Mail<sup>®</sup> International Large Envelope**

)

 

[1] => Array

(

[id] => 13

[text] => First-Class Mail<sup>®</sup> International Letter**

)

 

[2] => Array

(

[id] => 15

[text] => First-Class Package International Service<sup>™</sup>**

)

 

[3] => Array

(

[id] => 4

[text] => Global Express Guaranteed<sup>®</sup> (GXG)**

)

 

[4] => Array

(

[id] => 1

[text] => Priority Mail Express International<sup>™</sup>

)

 

[5] => Array

(

[id] => 26

[text] => Priority Mail Express International<sup>™</sup> Flat Rate Boxes

)

 

[6] => Array

(

[id] => 10

[text] => Priority Mail Express International<sup>™</sup> Flat Rate Envelope

)

 

[7] => Array

(

[id] => 17

[text] => Priority Mail Express International<sup>™</sup> Legal Flat Rate Envelope

)

 

[8] => Array

(

[id] => 27

[text] => Priority Mail Express International<sup>™</sup> Padded Flat Rate Envelope

)

 

[9] => Array

(

[id] => 2

[text] => Priority Mail International<sup>®</sup>

)

 

[10] => Array

(

[id] => 8

[text] => Priority Mail International<sup>®</sup> Flat Rate Envelope**

)

 

[11] => Array

(

[id] => 18

[text] => Priority Mail International<sup>®</sup> Gift Card Flat Rate Envelope**

)

 

[12] => Array

(

[id] => 11

[text] => Priority Mail International<sup>®</sup> Large Flat Rate Box

)

 

[13] => Array

(

[id] => 22

[text] => Priority Mail International<sup>®</sup> Legal Flat Rate Envelope**

)

 

[14] => Array

(

[id] => 9

[text] => Priority Mail International<sup>®</sup> Medium Flat Rate Box

)

 

[15] => Array

(

[id] => 23

[text] => Priority Mail International<sup>®</sup> Padded Flat Rate Envelope**

)

 

[16] => Array

(

[id] => 20

[text] => Priority Mail International<sup>®</sup> Small Flat Rate Envelope**

)

 

[17] => Array

(

[id] => 19

[text] => Priority Mail International<sup>®</sup> Window Flat Rate Envelope**

)

 

[18] => Array

(

[id] => 12

[text] => USPS GXG<sup>™</sup> Envelopes**

)

 

)

 

International Extra Services:

Array

(

[0] => Array

(

[id] => 6

[text] => Certificate of Mailing

)

 

[1] => Array

(

[id] => 1

[text] => Insurance

)

 

[2] => Array

(

[id] => 0

[text] => Registered Mail

)

 

[3] => Array

(

[id] => 2

[text] => Return Receipt

)

 

)

Link to comment
Share on other sites

That's what it should look like. Thank you for your extra work.

 

Going back to your original problem, it appears that you are getting the correct quotes for First Class fromUSPS. I don't understand why my modified module is not working. It must be some error on my part that I just can't see. I'll take another look.

 

Regards

Jim

See my profile for a list of my addons and ways to get support.

Link to comment
Share on other sites

I'm going to try and attach a pic of the screen that is showing shipping options. So you can see what it is picking up. You will see the wight and other informantion. Hope this helps.

post-303521-0-05917000-1375894787_thumb.jpg

Link to comment
Share on other sites

Hi all:

 

I've got an oscommerce site (OSC 2.2) that is currently down for shipping due to the recent USPS changes :-(

 

 

I previously had the contribution USPS Methods 6.1 installed and of course after the USPS API change, it stopped working.

 

 

I tried to install the latest contribution "V5.2 for July 28th changed Corrected" -- but after I reinstalled it from the admin page, when I try to click on the "Edit" I get this error:

 

Fatal error: Call to undefined function tep_cfg_multiinput_list() in /usr/www/users/leftrc/catalog/admin/modules.php(240) : eval()'d code on line 1

 

 

I have checked that modules.php file, and that function is in there.

 

Any help is greatly appreciated -- as I said... our site is down for USPS shipping now !

 

Thanks

Link to comment
Share on other sites

Hi all:

 

I've got an oscommerce site (OSC 2.2) that is currently down for shipping due to the recent USPS changes :-(

 

 

I previously had the contribution USPS Methods 6.1 installed and of course after the USPS API change, it stopped working.

 

 

I tried to install the latest contribution "V5.2 for July 28th changed Corrected" -- but after I reinstalled it from the admin page, when I try to click on the "Edit" I get this error:

 

Fatal error: Call to undefined function tep_cfg_multiinput_list() in /usr/www/users/leftrc/catalog/admin/modules.php(240) : eval()'d code on line 1

 

 

I have checked that modules.php file, and that function is in there.

 

Any help is greatly appreciated -- as I said... our site is down for USPS shipping now !

 

Thanks

 

 

Actually, the function "tep_cfg_multiinput_list is not in the modules.php file -- Where is this function supposed to be defined ??

 

 

Thanks

Link to comment
Share on other sites

Hello,

 

I would appreciate some clarification or pointers on how to update

USPS Rate V4, Intl Rate V2 to the latest July 28, 2013 updates.

 

I have a client with an older site running osCommerce v2.2 RC1.

 

I have tried to install USPS methods V5.2 for july 28th changed corrected.

I am not sure this is for the same add-on as above. Are there two different

USPS methods?

 

After installing these files, I am unable to click the edit button fro the module and it breaks

the sites shipping page during checkout. No errors, just a blank screen.

 

So I am not sure if the erors are due to the wrong files, or this update is not

compatible with osCommerce v2.2 RC1.

 

Thanks again for any clarification.

Link to comment
Share on other sites

I posted a fixed module file for this addon a page or two back. It seems to mostly work, so depending on the options you are using it might do what you want. It should work with osC 2.2RC1, but it does require PHP 5.2 or later.

 

Installing the USPS Methods addon (any version) would require removing this one and then installing the base package for whatever version of Methods you want. Yes, there are multiple versions.

 

Regards

Jim

See my profile for a list of my addons and ways to get support.

Link to comment
Share on other sites

Hello,

 

After installing these files, I am unable to click the edit button fro the module and it breaks

the sites shipping page during checkout. No errors, just a blank screen.

 

Just as an extra note here.. a white screen can also be cause by errant files in your "module" folders online..

For instance.. if you uploaded the language file to the actual module folder or vise versa.. or if you had a uspsBAK.php file and you loaded that to either the language (maybe??) or the "module" folder.

 

Been there done that last night.. found a white screen this AM and that's what it was.. I loaded the language file to the module folder last night for my ZONE module after a minor wording change.

Debbie D
Franklin County, VA "Moonshine Capitol of the World"
osCmax Mobile Template oscmaxtemplates.com

Link to comment
Share on other sites

Hello Fulluvscents,

 

I'm running OS Commerce v2.3.3. I successfully installed "USPS Rate V4 Intl Rate V2 - v.1.7" -- the client side of the website worked just fine. However, when I installed "USPS Restrict Methods", no shipping options show up at all during checkout (see attached picture post-308503-0-40749800-1376278495_thumb.jpg).

 

I have all shipping methods selected in the admin panel (Modules -> Shipping). I'm able to see/select/deselect all shipping options in the Product pages without any issues (see attached picturepost-308503-0-96078700-1376278905_thumb.jpg).

 

What am I doing wrong? Is there a setting I'm missing?

 

I appreciate your help.

 

Sincerely,

Matt

Link to comment
Share on other sites

@@AFMatt

You have installed an obsolete version of this module. That version will not work at all since the July USPS API change. You can look up in this thread for my patches that allow most of the services to work with the new API.

 

I have no idea if this will work with USPS Restrict Methods, or why you would want to use that.

 

Regards

Jim

See my profile for a list of my addons and ways to get support.

Link to comment
Share on other sites

Dear Jim;Thank you for answering questions regarding this usps module. In a reply to an earlier query, you suggested staying with usps methods. I changes to that via the quick install contrib in add-ons. I got it working last Friday and everything was hunky-dory. When working on a small problem in upsxml, I went back to a backup version of the db. That didn't help, so I tried to replace that with a backup of the one where usps was working. Since I saved that incorrectly, I had to call the server and get them to replace it with their backup. Guess what? Now usps does not work at our store. It appears in admin. I have tried to re-install it several times, using fresh code from the add-on. Admin looks fine, but usps does not show up when I try to do a fake order. I have changed the API twice since last week to see if that made a difference. It is switched to production. Do you have any idea what I could have done or need to do to make this module work again?

Link to comment
Share on other sites

It's possible that your database still has multiple entries. Uninstall the module, then search your database configuration table for remaining usps entries and delete them. You can then reinstall the module.

 

regards

Jim

See my profile for a list of my addons and ways to get support.

Link to comment
Share on other sites

Jim, thanks for responding so quickly. You may have already surmised that I am not a db guru. All I could find about shipping was a line under configuration_group. I could not see where to check what modules are available. I did see that the restored db is now listed separately. Should I delete this? I have successfully imported the data to the original. I am still at aloss.Lark

Link to comment
Share on other sites

Uninstall all USPS modules before you do the next step.

 

Open the configuration table in your database admin tool. Click on the search tab, then paste %USPS% into the configuration_key line. Check that the operator is still set to LIKE and click the Go button. Delete every line it finds.

 

Regards

Jim

See my profile for a list of my addons and ways to get support.

Link to comment
Share on other sites

@@jim

 

Hi JIm,

Just checking in to see if you had found the problem with first class. Also wanted to comment on "Restrict Methods" , I use it when I have an item that ways less then 13oz and has to ship in a box. I have to check do not use First Class so that it will only offer box rates. That is why it is needed. Just thought you should know.

Link to comment
Share on other sites

I've made one more try at fixing this mess. You can find the file here. All of the tests for First Class match what the USPS is actually sending, so I don't understand why it doesn't work. Probably some obscure bit of code that I haven't looked at.

 

So you are restricting shipping methods by product. I haven't tested that with this patched module, but there's no reason why it shouldn't work. Then again, there's no reason I can see why First Class isn't working.

 

Regards

Jim

See my profile for a list of my addons and ways to get support.

Link to comment
Share on other sites

grrrrrrrrrrrrrrrrrrrrrrrr I;m not getting first class.. I am getting handling domestic & international but no first class.. I am however getting media mail.. I just uploaded the version dated 8-13-2013 time stamped 12.28pm (today)

 

this version shows

          if( preg_match( '#First\-Class#', $request_type ) ) {

while my version shows

          if (preg_match('#First.Class#', $request_type)) {

 

further down this version shows

        \'First-Class MailRM Large Envelope\', 
       \'First-Class MailRM Parcel\', 

 

my version shows

        \'First-Class Mail\', 

this new version has a switch for not showing weight (thanks)

my older version does show first class as well as media mail, but somehow I just don't think I'm pulling first class prices..

 

the regulations tool on the international side works for me (remember I run osCmax v2.0.35)

 

on your version line 75 - looks like it still references ExpressMail.. is that correct? should it be PriorityExpress

            '<div id="Info" class="ui-state-highlight" style="display:none; padding:10px; max-height:200px; overflow:auto;">' . '<b>Prohibitions:</b><br>' . nl2br($uspsQuote['Package']['Prohibitions']) . '<br><br><b>Restrictions:</b><br>' . nl2br($uspsQuote['Package']['Restrictions']) . '<br><br><b>Observations:</b><br>' . nl2br($uspsQuote['Package']['Observations']) . '<br><br><b>CustomsForms:</b><br>' . nl2br($uspsQuote['Package']['CustomsForms']) . '<br><br><b>ExpressMail:</b><br>' . nl2br($uspsQuote['Package']['ExpressMail']) . '<br><br><b>AreasServed:</b><br>' . nl2br($uspsQuote['Package']['AreasServed']) . '<br><br><b>AdditionalRestrictions:</b><br>' . nl2br($uspsQuote['Package']['AdditionalRestrictions']) . '</div>' .

Debbie D
Franklin County, VA "Moonshine Capitol of the World"
osCmax Mobile Template oscmaxtemplates.com

Link to comment
Share on other sites

The first change was another attempt to get first class to work. Both versions should work. Despite everything matching, First Class still doesn't work. I have no idea why.

 

The second change matches the values currently being returned by USPS, as those values changed approximately one week after the announced July change.

 

The text on Line 75 should probably be changed, but since Express currently works I've left it alone. This code is fragile enough that I don't want to mess with anything that works.

 

Regards

Jim

See my profile for a list of my addons and ways to get support.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...