Looking for the v10 manual? Visit our new user's guide!
 
Search Descriptions Version
 
 
This article applies to: ML v7, ML8, MultiStore

“Index and length must refer to a location within the string” when checking out.


Symptoms
“Index and length must refer to a location within the string” when checking out.

Cause
This is caused by not having an origin address set for RealTime Shipping, or by having zones improperly configured when using one of the zone-base calculation methods.

Solution
If using Realtime shipping, make sure that the following AppConfigs are properly set:

- RTShipping.OriginAddress
- RTShipping.OriginAddress2
- RTShipping.OriginCity
- RTShipping.OriginCountry
- RTShipping.OriginState

If using one of the "fixed" zone-based calculation methods, make sure that none of the zone ranges have extra spaces or commas, or trailing commas.