![]() |
V4.4.5: Help needed to fix the "Is not a valid state for specified shipment" error
Last week we upgraded to V4.4.5. Our international customers are complaining about problems during checkout. They enter their state (province) names that have more than two characters. Unfortunately, this causes UPS's realtime shipping rate service to report this error:
<state name> is not a valid state for the specified shipment. (errorcode: 111286). UPS only accepts a 2-character state field. The irony is that the state field is not even used by UPS to determine international shipping rates. I thought it would be an easy fix. Just edit the php code that is responsible for sending the information to UPS. It should be changed so that it truncates the state field to 2 characters (or perhaps remove the state name entirely if the shipment is international). But I need some help -- I can't figure out which modules does this. I've been poking around in webmaster mode and just can't find the magic place that I need to edit. |
Re: V4.4.5: Help needed to fix the "Is not a valid state for specified shipment" error
You cannot find the file with webmaster mode - it is a php file and webmaster mode will not show it to you. YOu need to modify "shipping/mod_UPS.php"
|
Re: V4.4.5: Help needed to fix the "Is not a valid state for specified shipment" error
Thanks, that's just what I needed.
|
All times are GMT -8. The time now is 09:37 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.