Fedex地址验证失败

时间:2014-04-19 10:58:03

标签: ruby-on-rails fedex

我使用的是rails 2.3.17,我使用过fedex。

我使用了插件https://github.com/kdonovan/fedex

我有一个在fedex拥有帐户的客户。但是从网站发货时,我收到的错误是

Fedex address validation failed. Check address details. Error messages: MODIFIED_TO_ACHIEVE_MATCH. Delivery Point: UNAVAILABLE. Residential Status: BUSINESS

有人猜到为什么会这样吗?

由于

修改

 address_request_details: AvenueStateOrProvinceCodeWICityWausauWebAuthenticationDetailUserCredentialPasswordhTJxEaH7fXDqYtNaPFsPIDAy6KeyXl4QkKWZbZpxhzaIVersionMajor2ServiceIdavalIntermediate0Minor0

    process_address_request: #<SOAP::Mapping::Object:0x346dedc 
{http://fedex.com/ws/addressvalidation/v2}HighestSeverity="SUCCESS" 
{http://fedex.com/ws/addressvalidation/v2}Notifications=#<SOAP::Mapping::Object:0x346d4f0 

{http://fedex.com/ws/addressvalidation/v2}Severity="SUCCESS" {http://fedex.com/ws/addressvalidation/v2}Source="wsi"> 

{http://fedex.com/ws/addressvalidation/v2}Version=#<SOAP::Mapping::Object:0x3469bac {http://fedex.com/ws/addressvalidation/v2}ServiceId="aval" 

{http://fedex.com/ws/addressvalidation/v2}Major="2" 

{http://fedex.com/ws/addressvalidation/v2}Intermediate="0" {http://fedex.com/ws/addressvalidation/v2}Minor="0"> {http://fedex.com/ws/addressvalidation/v2}ReplyTimestamp="2014-04-21T04:25:59.044-05:00" {http://fedex.com/ws/addressvalidation/v2}AddressResults=#<SOAP::Mapping::Object:0x3464508 

{http://fedex.com/ws/addressvalidation/v2}ProposedAddressDetails=#<SOAP::Mapping::Object:0x3463f54 {http://fedex.com/ws/addressvalidation/v2}Score="58" {http://fedex.com/ws/addressvalidation/v2}

Changes="MODIFIED_TO_ACHIEVE_MATCH" {http://fedex.com/ws/addressvalidation/v2}ResidentialStatus="BUSINESS" {http://fedex.com/ws/addressvalidation/v2}
DeliveryPointValidation="UNAVAILABLE" {http://fedex.com/ws/addressvalidation/v2}Address=#<SOAP::Mapping::Object:0x345f4b8 {http://fedex.com/ws/addressvalidation/v2}StreetLines="1000 S 17TH AVE" 

{http://fedex.com/ws/addressvalidation/v2}City="WAUSAU" {http://fedex.com/ws/addressvalidation/v2}StateOrProvinceCode="WI" {http://fedex.com/ws/addressvalidation/v2}PostalCode="54401-5741" {http://fedex.com/ws/addressvalidation/v2}CountryCode="US"> {http://fedex.com/ws/addressvalidation/v2}RemovedNonAddressData="">>>

1 个答案:

答案 0 :(得分:2)

根据编辑,FedEx不会返回错误 - 您将恢复成功。

MODIFIED_TO_ACHIEVE_MATCH在FedEx响应中非常常见 - 这意味着用户输入了需要进行一些更改的地址。将原始数据与响应进行比较,并确定是要覆盖它还是保持原样。总的来说,许多站点被编码为并排显示原始地址和标准化地址,因此用户可以“更新”到标准化版本。请注意,FedEx(和UPS)验证有时可能具有破坏性。