| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
V4.4.5: Help needed to fix the "Is not a valid state for specified shipment" error | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() 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.
__________________
Thomas / USA XCart V4.4.5 Gold XCart Mobile V1.4.12 XCart X-PDF XCart X-HotProducts AlteredCart Checkout One (One Page Checkout) BCSE Back In Stock CFL Holiday Message CFL System Message Smack Digital (WebsiteCM) Remember Anon Carts xcartmods Testimonials xcartmods reCAPTCHA for X-Cart Classic Unix, PHP 7.0 (patched 5.4). MySQL 5.6 |
|||||||
#2
|
|||||||||
|
|||||||||
![]() 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"
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
|
#3
|
|||||||
|
|||||||
![]() Thanks, that's just what I needed.
__________________
Thomas / USA XCart V4.4.5 Gold XCart Mobile V1.4.12 XCart X-PDF XCart X-HotProducts AlteredCart Checkout One (One Page Checkout) BCSE Back In Stock CFL Holiday Message CFL System Message Smack Digital (WebsiteCM) Remember Anon Carts xcartmods Testimonials xcartmods reCAPTCHA for X-Cart Classic Unix, PHP 7.0 (patched 5.4). MySQL 5.6 |
|||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|