我在 Magento 1.7.0.2 中设置了 FedEx 和 DHL 运输模块,我的原籍国是英国。当我启用日志文件记录时,它会显示类似于以下内容的错误:
2014-01-16T11:37:32+00:00 DEBUG (7): Array
(
[request] => Array
(
[WebAuthenticationDetail] => Array
(
[UserCredential] => Array
(
[Key] => Du7g4fjPU7X4yr4S
[Password] => 7TaHmEQyzOdxcxBLlspPIV8sJ
)
)
[ClientDetail] => Array
(
[AccountNumber] => 510087062
[MeterNumber] => 118588382
)
[Version] => Array
(
[ServiceId] => crs
[Major] => 10
[Intermediate] => 0
[Minor] => 0
)
[RequestedShipment] => Array
(
[DropoffType] => REGULAR_PICKUP
[ShipTimestamp] => 2014-01-16T11:37:31+00:00
[PackagingType] => YOUR_PACKAGING
[TotalInsuredValue] => Array
(
[Amount] => 3
[Currency] => UKL
)
[Shipper] => Array
(
[Address] => Array
(
[PostalCode] => SA129NG
[CountryCode] => GB
)
)
[Recipient] => Array
(
[Address] => Array
(
[PostalCode] => 21001
[CountryCode] => DE
[Residential] => 1
)
)
[ShippingChargesPayment] => Array
(
[PaymentType] => SENDER
[Payor] => Array
(
[AccountNumber] => 510087062
[CountryCode] => GB
)
)
[CustomsClearanceDetail] => Array
(
[CustomsValue] => Array
(
[Amount] => 3
[Currency] => UKL
)
)
[RateRequestTypes] => LIST
[PackageCount] => 1
[PackageDetail] => INDIVIDUAL_PACKAGES
[RequestedPackageLineItems] => Array
(
[0] => Array
(
[Weight] => Array
(
[Value] => 3
[Units] => LB
)
[GroupPackageCount] => 1
[InsuredValue] => Array
(
[Amount] => 3
[Currency] => UKL
)
)
)
)
)
[result] => stdClass Object
(
[HighestSeverity] => ERROR
[Notifications] => stdClass Object
(
[Severity] => ERROR
[Source] => prof
[Code] => 1000
[Message] => Authentication Failed
)
[Version] => stdClass Object
(
[ServiceId] => crs
[Major] => 10
[Intermediate] => 0
[Minor] => 0
)
)
[__pid] => 373
)
我已经在管理端设置了 FedEx 帐户详细信息(帐户号、开发人员测试 key 、测试仪编号和密码),但仍然抛出错误:
此运送方式目前不可用。如果您想使用此运送方式运送,请联系我们。
最佳答案
假设您的凭据正确,这似乎是 FedEx 沙箱的临时问题。我遇到了同样的问题,但现在似乎可以正常工作。
关于magento-1.7 - Magento 1.7.0.2 FedEx 和 DHL 不工作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21161773/