UPS gives Zip Code error
-
Hi… plug-in is pretty well configured and working with Fed-Ex and some Flat Rates… all good.
Added UPS and no quote is given. Debug shows:
[error] => Array
(
[0] => Array
(
[Service] =>
[ErrorSeverity] => Hard
[ErrorCode] => 111285
[ErrorDescription] => The postal code 34275 is invalid for CA United States.
))
)
)
Even though address is not a California address at all. (ex Illinois, 61853 input)
David
The page I need help with: [log in to see the link]
-
This is the entire Debut info….
Request
Array
(
[0] => Array
(
[id] => 91,329:0
[company] => Array
(
[0] => fedex
)[Weight_Units] => LB
[ServiceType] => GROUND_HOME_DELIVERY
[Container] =>
[RateRequestTypes] => NONE
[box_id] =>
[fedexOneRate] =>
[packages] => Array
(
[0] => Array
(
[weight] => 12.78
[unit] => LBS
[Description] => My Package
[length] => 44
[width] => 17
[height] => 11
[no_of_packages] => 1
[SequenceNumber] => 1
[line_subtotal] => 359.98
[insured_amount] => 359.98
))
)
[1] => Array
(
[id] => 91,329:0
[company] => Array
(
[0] => fedex
)[Weight_Units] => LB
[ServiceType] => GROUND_HOME_DELIVERY
[Container] =>
[RateRequestTypes] => NONE
[box_id] =>
[fedexOneRate] =>
[packages] => Array
(
[0] => Array
(
[weight] => 0.19
[unit] => LBS
[Description] => My Package
[length] => 10
[width] => 4
[height] => 4
[no_of_packages] => 1
[SequenceNumber] => 3
[line_subtotal] => 199.98
[insured_amount] => 199.98
))
)
)
Response
Array
(
[rates] => Array
(
[91,329:0:0] => Array
(
[0] => Array
(
[cached] =>
[fedex] => Array
(
[0] => Array
(
[Service] => GROUND_HOME_DELIVERY
[TotalNetChargeWithDutiesAndTaxes] => Array
(
[Amount] => 24.56
[CurrencyCode] => USD
)[EstimatedDelivery] => April 16, 2020 3:29 pm
))
[all] => Array
(
[0] => Array
(
[Service] => FIRST_OVERNIGHT
[TotalNetChargeWithDutiesAndTaxes] => Array
(
[Amount] => 354.84
[CurrencyCode] => USD
)[EstimatedDelivery] => April 14, 2020 9:30 am
)[1] => Array
(
[Service] => PRIORITY_OVERNIGHT
[TotalNetChargeWithDutiesAndTaxes] => Array
(
[Amount] => 122.09
[CurrencyCode] => USD
)[EstimatedDelivery] => April 14, 2020 10:30 am
)[2] => Array
(
[Service] => STANDARD_OVERNIGHT
[TotalNetChargeWithDutiesAndTaxes] => Array
(
[Amount] => 119.92
[CurrencyCode] => USD
)[EstimatedDelivery] => April 14, 2020 8:00 pm
)[3] => Array
(
[Service] => FEDEX_2_DAY_AM
[TotalNetChargeWithDutiesAndTaxes] => Array
(
[Amount] => 86.54
[CurrencyCode] => USD
)[EstimatedDelivery] => April 15, 2020 10:30 am
)[4] => Array
(
[Service] => FEDEX_2_DAY
[TotalNetChargeWithDutiesAndTaxes] => Array
(
[Amount] => 74.5
[CurrencyCode] => USD
)[EstimatedDelivery] => April 15, 2020 8:00 pm
)[5] => Array
(
[Service] => FEDEX_EXPRESS_SAVER
[TotalNetChargeWithDutiesAndTaxes] => Array
(
[Amount] => 62.34
[CurrencyCode] => USD
)[EstimatedDelivery] => April 16, 2020 8:00 pm
)[6] => Array
(
[Service] => GROUND_HOME_DELIVERY
[TotalNetChargeWithDutiesAndTaxes] => Array
(
[Amount] => 24.56
[CurrencyCode] => USD
)[EstimatedDelivery] => April 16, 2020 3:29 pm
))
)
)
[91,329:0:1] => Array
(
[0] => Array
(
[cached] =>
[fedex] => Array
(
[0] => Array
(
[Service] => GROUND_HOME_DELIVERY
[TotalNetChargeWithDutiesAndTaxes] => Array
(
[Amount] => 16.11
[CurrencyCode] => USD
))
)
[all] => Array
(
[0] => Array
(
[Service] => FIRST_OVERNIGHT
[TotalNetChargeWithDutiesAndTaxes] => Array
(
[Amount] => 110.05
[CurrencyCode] => USD
))
[1] => Array
(
[Service] => PRIORITY_OVERNIGHT
[TotalNetChargeWithDutiesAndTaxes] => Array
(
[Amount] => 37.19
[CurrencyCode] => USD
))
[2] => Array
(
[Service] => STANDARD_OVERNIGHT
[TotalNetChargeWithDutiesAndTaxes] => Array
(
[Amount] => 34.31
[CurrencyCode] => USD
))
[3] => Array
(
[Service] => FEDEX_2_DAY_AM
[TotalNetChargeWithDutiesAndTaxes] => Array
(
[Amount] => 22.98
[CurrencyCode] => USD
))
[4] => Array
(
[Service] => FEDEX_2_DAY
[TotalNetChargeWithDutiesAndTaxes] => Array
(
[Amount] => 21.27
[CurrencyCode] => USD
))
[5] => Array
(
[Service] => FEDEX_EXPRESS_SAVER
[TotalNetChargeWithDutiesAndTaxes] => Array
(
[Amount] => 19.36
[CurrencyCode] => USD
))
[6] => Array
(
[Service] => GROUND_HOME_DELIVERY
[TotalNetChargeWithDutiesAndTaxes] => Array
(
[Amount] => 16.11
[CurrencyCode] => USD
))
)
)
)
)
)
Rule Group=Est2 and Flat Rate Calculation :
Array
(
[34] => Array
(
[91] => 3.2
[329] => 3.2
))
Request
Array
(
[0] => Array
(
[id] => 91,329:35
[company] => Array
(
[0] => ups
)[Weight_Units] => LB
[ServiceType] => 03
[Container] =>
[RateRequestTypes] => NONE
[box_id] =>
[fedexOneRate] =>
[packages] => Array
(
[0] => Array
(
[weight] => 12.78
[unit] => LBS
[Description] => My Package
[length] => 44
[width] => 17
[height] => 11
[no_of_packages] => 1
[SequenceNumber] => 1
[line_subtotal] => 359.98
[insured_amount] => 359.98
))
)
[1] => Array
(
[id] => 91,329:35
[company] => Array
(
[0] => ups
)[Weight_Units] => LB
[ServiceType] => 03
[Container] =>
[RateRequestTypes] => NONE
[box_id] =>
[fedexOneRate] =>
[packages] => Array
(
[0] => Array
(
[weight] => 0.19
[unit] => LBS
[Description] => My Package
[length] => 10
[width] => 4
[height] => 4
[no_of_packages] => 1
[SequenceNumber] => 3
[line_subtotal] => 199.98
[insured_amount] => 199.98
))
)
)
Response
Array
(
[rates] => Array
(
[91,329:35:0] => Array
(
[0] => Array
(
[cached] => 1
[ups] => Array
(
)[all] => Array
(
)[error] => Array
(
[0] => Array
(
[Service] =>
[ErrorSeverity] => Hard
[ErrorCode] => 111285
[ErrorDescription] => The postal code 34275 is invalid for CA United States.
))
)
)
[91,329:35:1] => Array
(
[0] => Array
(
[cached] =>
[ups] => Array
(
)[all] => Array
(
)[error] => Array
(
[0] => Array
(
[Service] =>
[ErrorSeverity] => Hard
[ErrorCode] => 111285
[ErrorDescription] => The postal code 34275 is invalid for CA United States.
))
)
)
)
)
Multi-Carrier Debug Mode is ON
To hide these messages, turn Debug Mode off in the Settings
For more debug information, visit Woocommerce ->Status ->Logs
Fallback Rate is enabled.
Request
Array
(
[0] => Array
(
[id] => 91,329:0
[company] => Array
(
[0] => fedex
)[Weight_Units] => LB
[ServiceType] => GROUND_HOME_DELIVERY
[Container] =>
[RateRequestTypes] => NONE
[box_id] =>
[fedexOneRate] =>
[packages] => Array
(
[0] => Array
(
[weight] => 12.78
[unit] => LBS
[Description] => My Package
[length] => 44
[width] => 17
[height] => 11
[no_of_packages] => 1
[SequenceNumber] => 1
[line_subtotal] => 359.98
[insured_amount] => 359.98
))
)
[1] => Array
(
[id] => 91,329:0
[company] => Array
(
[0] => fedex
)[Weight_Units] => LB
[ServiceType] => GROUND_HOME_DELIVERY
[Container] =>
[RateRequestTypes] => NONE
[box_id] =>
[fedexOneRate] =>
[packages] => Array
(
[0] => Array
(
[weight] => 0.19
[unit] => LBS
[Description] => My Package
[length] => 10
[width] => 4
[height] => 4
[no_of_packages] => 1
[SequenceNumber] => 3
[line_subtotal] => 199.98
[insured_amount] => 199.98
))
)
)
Response
Array
(
[rates] => Array
(
[91,329:0:0] => Array
(
[0] => Array
(
[cached] =>
[fedex] => Array
(
[0] => Array
(
[Service] => GROUND_HOME_DELIVERY
[TotalNetChargeWithDutiesAndTaxes] => Array
(
[Amount] => 24.56
[CurrencyCode] => USD
)[EstimatedDelivery] => April 16, 2020 3:29 pm
))
[all] => Array
(
[0] => Array
(
[Service] => FIRST_OVERNIGHT
[TotalNetChargeWithDutiesAndTaxes] => Array
(
[Amount] => 354.84
[CurrencyCode] => USD
)[EstimatedDelivery] => April 14, 2020 9:30 am
)[1] => Array
(
[Service] => PRIORITY_OVERNIGHT
[TotalNetChargeWithDutiesAndTaxes] => Array
(
[Amount] => 122.09
[CurrencyCode] => USD
)[EstimatedDelivery] => April 14, 2020 10:30 am
)[2] => Array
(
[Service] => STANDARD_OVERNIGHT
[TotalNetChargeWithDutiesAndTaxes] => Array
(
[Amount] => 119.92
[CurrencyCode] => USD
)[EstimatedDelivery] => April 14, 2020 8:00 pm
)[3] => Array
(
[Service] => FEDEX_2_DAY_AM
[TotalNetChargeWithDutiesAndTaxes] => Array
(
[Amount] => 86.54
[CurrencyCode] => USD
)[EstimatedDelivery] => April 15, 2020 10:30 am
)[4] => Array
(
[Service] => FEDEX_2_DAY
[TotalNetChargeWithDutiesAndTaxes] => Array
(
[Amount] => 74.5
[CurrencyCode] => USD
)[EstimatedDelivery] => April 15, 2020 8:00 pm
)[5] => Array
(
[Service] => FEDEX_EXPRESS_SAVER
[TotalNetChargeWithDutiesAndTaxes] => Array
(
[Amount] => 62.34
[CurrencyCode] => USD
)[EstimatedDelivery] => April 16, 2020 8:00 pm
)[6] => Array
(
[Service] => GROUND_HOME_DELIVERY
[TotalNetChargeWithDutiesAndTaxes] => Array
(
[Amount] => 24.56
[CurrencyCode] => USD
)[EstimatedDelivery] => April 16, 2020 3:29 pm
))
)
)
[91,329:0:1] => Array
(
[0] => Array
(
[cached] =>
[fedex] => Array
(
[0] => Array
(
[Service] => GROUND_HOME_DELIVERY
[TotalNetChargeWithDutiesAndTaxes] => Array
(
[Amount] => 16.24
[CurrencyCode] => USD
))
)
[all] => Array
(
[0] => Array
(
[Service] => FIRST_OVERNIGHT
[TotalNetChargeWithDutiesAndTaxes] => Array
(
[Amount] => 110.05
[CurrencyCode] => USD
))
[1] => Array
(
[Service] => PRIORITY_OVERNIGHT
[TotalNetChargeWithDutiesAndTaxes] => Array
(
[Amount] => 37.19
[CurrencyCode] => USD
))
[2] => Array
(
[Service] => STANDARD_OVERNIGHT
[TotalNetChargeWithDutiesAndTaxes] => Array
(
[Amount] => 34.31
[CurrencyCode] => USD
))
[3] => Array
(
[Service] => FEDEX_2_DAY_AM
[TotalNetChargeWithDutiesAndTaxes] => Array
(
[Amount] => 22.98
[CurrencyCode] => USD
))
[4] => Array
(
[Service] => FEDEX_2_DAY
[TotalNetChargeWithDutiesAndTaxes] => Array
(
[Amount] => 21.27
[CurrencyCode] => USD
))
[5] => Array
(
[Service] => FEDEX_EXPRESS_SAVER
[TotalNetChargeWithDutiesAndTaxes] => Array
(
[Amount] => 19.36
[CurrencyCode] => USD
))
[6] => Array
(
[Service] => GROUND_HOME_DELIVERY
[TotalNetChargeWithDutiesAndTaxes] => Array
(
[Amount] => 16.24
[CurrencyCode] => USD
))
)
)
)
)
)
Rule Group=Est2 and Flat Rate Calculation :
Array
(
[34] => Array
(
[91] => 3.2
[329] => 3.2
))
Request
Array
(
[0] => Array
(
[id] => 91,329:35
[company] => Array
(
[0] => ups
)[Weight_Units] => LB
[ServiceType] => 03
[Container] =>
[RateRequestTypes] => NONE
[box_id] =>
[fedexOneRate] =>
[packages] => Array
(
[0] => Array
(
[weight] => 12.78
[unit] => LBS
[Description] => My Package
[length] => 44
[width] => 17
[height] => 11
[no_of_packages] => 1
[SequenceNumber] => 1
[line_subtotal] => 359.98
[insured_amount] => 359.98
))
)
[1] => Array
(
[id] => 91,329:35
[company] => Array
(
[0] => ups
)[Weight_Units] => LB
[ServiceType] => 03
[Container] =>
[RateRequestTypes] => NONE
[box_id] =>
[fedexOneRate] =>
[packages] => Array
(
[0] => Array
(
[weight] => 0.19
[unit] => LBS
[Description] => My Package
[length] => 10
[width] => 4
[height] => 4
[no_of_packages] => 1
[SequenceNumber] => 3
[line_subtotal] => 199.98
[insured_amount] => 199.98
))
)
)
Response
Array
(
[rates] => Array
(
[91,329:35:0] => Array
(
[0] => Array
(
[cached] => 1
[ups] => Array
(
)[all] => Array
(
)[error] => Array
(
[0] => Array
(
[Service] =>
[ErrorSeverity] => Hard
[ErrorCode] => 111285
[ErrorDescription] => The postal code 34275 is invalid for CA United States.
))
)
)
[91,329:35:1] => Array
(
[0] => Array
(
[cached] => 1
[ups] => Array
(
)[all] => Array
(
)[error] => Array
(
[0] => Array
(
[Service] =>
[ErrorSeverity] => Hard
[ErrorCode] => 111285
[ErrorDescription] => The postal code 34275 is invalid for CA United States.
))
)
)
)
)
Can Delete….
Fixed….
Was data error in the Shipper fields…… apparently none of the other companies are using State… Just Zip…David
I am having same problem. I used the real zip code to do the test. And keeping getting the error code:
<?xml version=”1.0″?>
<RatingServiceSelectionResponse>
<Response>
<ResponseStatusCode>0</ResponseStatusCode>
<ResponseStatusDescription>Failure</ResponseStatusDescription>
<Error>
<ErrorSeverity>Hard</ErrorSeverity>
<ErrorCode>111285</ErrorCode>
<ErrorDescription>The postal code NY11375 is invalid for NY United States.</ErrorDescription>
</Error>
</Response>
</RatingServiceSelectionResponse>Anyone knows how to fix it? Thank you!
Does this error happen with Multiple Packages disabled? It looks like something is prefacing the postal code with the state abbreviation (NY11375) which is not a valid US postal code. However that is not something that this plugin does. The fields are appropriately separated even when multiple packages are needed in the order. So I am not sure why that is happening or what is causing it.
- The topic ‘UPS gives Zip Code error’ is closed to new replies.