Jump to content



Latest News: (loading..)

- - - - -

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


  • Please log in to reply
470 replies to this topic

#221   iflyamphib

iflyamphib
  • Members
  • 51 posts
  • Real Name:Jim Ratte

Posted 14 July 2012 - 03:21 AM

View Postfulluvscents, on 13 February 2012 - 05:19 PM, said:

Yes, if you drop ship and want to apply a flat fee, then you'll be able to block usps as an option.  After you install it, just open the product editing page, click on restrict usps methods (which will drop down your list of methods) and check ALL the checkboxes.  Sorry, I don't have a screenshot.  It would probably help.  This only applies to this particular USPS mod, so if you offer other shipping options, it won't block those.

Jetta - First thank you for your devotion to increasing OSC's capability and an awesome contrib. I installed this tonight without any issues, however I think I might have found an issue in regards to your answer above. I have a very large item (a wood crate) that is used for shipping a particular item on my site. When I check every USPS box to restrict those ship methods on that item, save the item, and then reIoad the item, I notice one of those methods is then unchecked. I've verified this on several items. Is there a fix that would allow one to disable all methods for a particular item?

#222   kebo

kebo
  • Members
  • 19 posts
  • Real Name:Rudolph Rawlins

Posted 14 July 2012 - 04:15 AM

I found the answer.

#223   dmack

dmack
  • Members
  • 12 posts
  • Real Name:Dennis Mack

Posted 16 July 2012 - 05:51 PM

I am trying to include this add on in OSC v 2.31

I have installed this module as instructed in the readme.txt that comes with the download but I can still not get it to work. Every thing goes fine until I try to configure the module.

When I go to configure USPS, the default values are all displayed in the right column, but when I select "Edit" that column disappears completely.


I get the same error in a fresh install and un edited version of OSC 2.31 as well.

I know this was discussed before but the solution given did not help.

Any help would be appreciated.

#224   uwearusa

uwearusa
  • Members
  • 29 posts
  • Real Name:Chris Marsh

Posted 16 July 2012 - 07:42 PM

Hey Guys, Im usually pretty decent with this stuff but I have failed at this one! I getting the below after i have done the mods and replacements and go into the shipping module to install...Any takers to help walk me through?Attached File  Capture.JPG   32.99K   14 downloads

Edited by uwearusa, 16 July 2012 - 07:50 PM.


#225   aerosmith

aerosmith
  • Members
  • 131 posts
  • Real Name:Scottt

Posted 18 July 2012 - 10:37 PM

im having the following problem on my site
Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 84: parser error : EntityRef: expecting ';' in /home/tciweb/public_html/includes/modules/shipping/usps.php on line 296

Warning: simplexml_load_string() [function.simplexml-load-string]: OffTime>12:00 PM</SaturDayCutOffTime></PostOffice><PostOffice><Name>ANAHEIM P&DC in /home/tciweb/public_html/includes/modules/shipping/usps.php on line 296

Warning: simplexml_load_string() [function.simplexml-load-string]: ^ in /home/tciweb/public_html/includes/modules/shipping/usps.php on line 296
i see that people had this error before , but i dont see any resolution.

i have items selected in the admin but module wont work.

this error shows up on checkout_shipping
and usps items dont show up.
and using ver 2.3.1

http://tci.webslingers.net/checkout_shipping.php?osCsid=c05aa8de99395891d248be67f9aee1ac

Edited by aerosmith, 18 July 2012 - 10:44 PM.


#226   dmack

dmack
  • Members
  • 12 posts
  • Real Name:Dennis Mack

Posted 19 July 2012 - 02:05 AM

I guess there is no support for this add on

#227   germ

germ
  • Members
  • 13,921 posts
  • Real Name:Jim
  • Gender:Male
  • Location:USA (GMT-6)

Posted 19 July 2012 - 03:18 AM

View Postdmack, on 19 July 2012 - 02:05 AM, said:

I guess there is no support for this add on

If you check the profile of the add on's author you'd see that they haven't even logged in in over two months.

Not a good sign that any "support" will be swiftly forthcoming...
:huh:
If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."
- Me -

"Headers already sent" - The definitive help

"Cannot redeclare ..." - How to find/fix it

SSL Implementation Help

Like this post? "Like" it again over there >

#228   JeffroDH

JeffroDH
  • Members
  • 44 posts
  • Real Name:Jeff Hogan

Posted 19 July 2012 - 02:01 PM

If you need support, then you may want to consider paying for it.

Jetta has done some work with our store, and is absolutely fantastic.

#229   JeffroDH

JeffroDH
  • Members
  • 44 posts
  • Real Name:Jeff Hogan

Posted 19 July 2012 - 02:03 PM

View Postuwearusa, on 16 July 2012 - 07:42 PM, said:

Hey Guys, Im usually pretty decent with this stuff but I have failed at this one! I getting the below after i have done the mods and replacements and go into the shipping module to install...Any takers to help walk me through?Attachment Capture.JPG

Administration -> Modules -> Shipping

The '+ Install Module' button is in the upper right hand corner, and you can select it from there.  If it's not in the list, then you missed something in the install.

#230   JeffroDH

JeffroDH
  • Members
  • 44 posts
  • Real Name:Jeff Hogan

Posted 19 July 2012 - 02:05 PM

View Postaerosmith, on 18 July 2012 - 10:37 PM, said:

im having the following problem on my site
Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 84: parser error : EntityRef: expecting ';' in /home/tciweb/public_html/includes/modules/shipping/usps.php on line 296

Warning: simplexml_load_string() [function.simplexml-load-string]: OffTime>12:00 PM</SaturDayCutOffTime></PostOffice><PostOffice><Name>ANAHEIM P&amp;DC in /home/tciweb/public_html/includes/modules/shipping/usps.php on line 296

Warning: simplexml_load_string() [function.simplexml-load-string]: ^ in /home/tciweb/public_html/includes/modules/shipping/usps.php on line 296
i see that people had this error before , but i dont see any resolution.

i have items selected in the admin but module wont work.

this error shows up on checkout_shipping
and usps items dont show up.
and using ver 2.3.1

http://tci.webslingers.net/checkout_shipping.php?osCsid=c05aa8de99395891d248be67f9aee1ac

Open up the usps.php file that you're seeing in the error message and take a look at the code.  There's a statement there (right around line 296) that wasn't closed properly with a ';', which is the delimiter.  It's also possible that you have a stray apostrophe hanging out somewhere.

#231   JeffroDH

JeffroDH
  • Members
  • 44 posts
  • Real Name:Jeff Hogan

Posted 19 July 2012 - 02:07 PM

View Postdmack, on 16 July 2012 - 05:51 PM, said:

I am trying to include this add on in OSC v 2.31

I have installed this module as instructed in the readme.txt that comes with the download but I can still not get it to work. Every thing goes fine until I try to configure the module.

When I go to configure USPS, the default values are all displayed in the right column, but when I select "Edit" that column disappears completely.


I get the same error in a fresh install and un edited version of OSC 2.31 as well.

I know this was discussed before but the solution given did not help.

Any help would be appreciated.

Did you uninstall the USPS module before making the changes to the files?

#232   JeffroDH

JeffroDH
  • Members
  • 44 posts
  • Real Name:Jeff Hogan

Posted 19 July 2012 - 02:09 PM

Just as a general install note, you really should use a file comparison tool to make the changes.  You'll get a much better appreciation for what you're changing and where you're at in the code.  It's also a lot harder to make mistakes this way.


#233   dmack

dmack
  • Members
  • 12 posts
  • Real Name:Dennis Mack

Posted 20 July 2012 - 05:00 AM

View PostJeffroDH, on 19 July 2012 - 02:07 PM, said:

Did you uninstall the USPS module before making the changes to the files?

Yes I did and I used a file comparison tool to make all changes but I still got the same results.

#234   lplplpx3

lplplpx3
  • Members
  • 33 posts
  • Real Name:Lola Phelps

Posted 21 July 2012 - 09:21 AM

Hi Jetta (and all) thanks for your script that got me out of weeks of hot water. I am, however, experiencing a problem as follows with PayPal Express. Here's the info:

osCommerce: V2.2
Shipping: USPS Methods 5.2.0_RateV4IntlRateV2
Payment: PayPal Express ONLY

After adding items to the cart hitting Checkout from the "What's in My Cart?" page, takes me to USPS shipping selection page and works flawlessly from there, going through PayPal and returning to the site etc. etc.

There's a problem, however, if from the "What's in My Cart?" page, I hit the PayPal button which bypasses the shipping selection page altogether, goes through the PayPal sign in and comes back to the site for price confirmation but not displaying any shipping info in the total whatsoever (only displaying the product price).

Consequently, if I've been through the checkout process for the same item previously, then hitting PayPal bypasses the shipping selection page as above, goes through the PayPal sign in and comes back to the site for price confirmation but this time displaying the shipping price as previously selected.

There's different behavior right there and basically both are wrong.

So how can I get pressing PayPal to perform exactly the same as if I'd hit "Checkout" OR how can I suppress the PayPal button from showing at all thereby forcing a customer to hit "Checkout" which will then go through the correct process OR even better, is there a fix for this?

Any help would be much appreciated. Thanks much.

#235   jhaugen

jhaugen
  • Members
  • 24 posts
  • Real Name:Jerry Haugen

Posted 27 July 2012 - 12:58 AM

Hi Jetta,

UsingUSPS Rate V4 Intl Rate V2- v.1.0 on a 2.3.1 store.  Today we got a couple emails:

Subject: PHP error_log message

UPSXML Rates Error: 111285: The postal code 33647 is invalid for AL United States. experienced by customer with id 4636 on 2012-07-26 11:26:26

In one case, the customer profile showed the state as Alabama (spelled out) and the zip code as New Jersey.  Since there was no such address in Alabama, the NJ zip is correct.  In the other case the customer was in Egypt  and the error was as shown above.  It looks like the error is coming from the USPS.  It also looks like the state is defaulting to Alabama for some reason - does osC do that if the customer leaves it blank?  Is this something new from the USPS?  Seems like USPS should pick up the country before deciding that the number is a zip code as opposed to some other kind of postal code.

Thanks for any insight!

-Jerry-

#236   jhaugen

jhaugen
  • Members
  • 24 posts
  • Real Name:Jerry Haugen

Posted 27 July 2012 - 06:04 AM

After further investigation, it looks like the user created an account, entered the state in the form by typing it in then had some other error that returned him to the form.  When that happens, the drop-down for state appears (because osC now knows the country to display) with Alabama as the default.  Apparently the customer did not notice and correct the error before placing the order - which never came in because of the USPS error about the state and zip code not matching.  So, all of that works as intended.

I don't know exactly what happened to the customer in Egypt.  Something similar I suspect although given the country from a pull down menu, there should be no default to Alabama.

-Jerry-

#237   iflyamphib

iflyamphib
  • Members
  • 51 posts
  • Real Name:Jim Ratte

Posted 02 August 2012 - 11:15 AM

I have a client that has emailed trying to place an order for the last two days. This is on a existing 2.3 store with this module:

Fatal error: Class 'httpClient' not found in /home/recmob/public_html/seareyspecialist.com/includes/modules/shipping/usps.php on line 303

This appears to be where it connects to the usps servers. Strange part is that I have placed test orders and have breezed right on through and cannot replicate this. Is this a possibility where the usps server is unavailable at the time the order is being placed?

#238   evillive3636

evillive3636
  • Members
  • 4 posts
  • Real Name:Daniel

Posted 05 August 2012 - 06:25 PM

I am having the same issue as dmack. When i go to edit all the settings go away

#239 ONLINE   kymation

kymation

    Believers

  • Community Sponsor
  • 6,682 posts
  • Real Name:Jim Keebaugh
  • Gender:Male
  • Location:Aberdeen WA USA

Posted 05 August 2012 - 06:34 PM

That is caused by an error. You are not seeing the error message, so it's impossible to tell what's wrong. look in your PHP error log, or change error reporting in application_top.php to this:

// Set the level of error reporting
error_reporting(E_ALL & ~E_STRICT);

When you get the error message, copy and paste it here so we can tell what's wrong.

Regards
Jim
My Addons

Banners Box 2.3.x  Support
Categories Accordion Box 2.3.x  Support
Categories Images Box 2.2x  2.3.x  Support
Closest Shipper 2.2x  Support
Document Manager 2.2x  Support
Generic Box 2.3.x  Support
Get 1 Free 2.2x  Support
jQuery Banner Rotator 2.2x  2.3.x  Support
Modular Front Page 2.3.x  Support
Modular SEO Header Tags 2.3.x  Support
MVS 2.2x  Support
PDF Datasheet 2.3.x  Support
Price Updater 2.2x
Products Specifications 2.2x  2.3.x  Development Version  Support  Bugs/Suggestions
Request a Review 2.2x - 2.3.x  Support
Similar Products Box 2.2x
Specials Image Overlay 2.3x Support
Theme Switcher 2.3.x  Support

#240   bcleather

bcleather
  • Members
  • 23 posts
  • Real Name:Mike Ellis
  • Gender:Male
  • Location:Indianapolis IN

Posted 14 August 2012 - 01:19 AM

Hello fellow HOOSIER!! (or should I say Lady Hoosier?!?))

I'm having some problems with this contribution although I'm thinking I may have caused it but don't know how to fix it.  It installs fine but whenever I go to edit it in admin I get
Fatal error: Call to undefined function tep_cfg_usps_services() in /home/content/97/9711797/html/admin/modules.php(232) : eval()'d code on line 1
for the life of me I can't understand why since that file was not modified at all. Any and all suggestions would be greatly appreciated.

Thanks in advance