magento-1.7 - Magento 1.7.0.2 FedEx 和 DHL 不工作

标签 magento-1.7 fedex

我在 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/

相关文章:

magento - 运输方法在 magento 1.7 中不起作用

magento - 修改 Magento PayPal PayFlow Pro 响应消息

php - Fedex API 计划取件

php - 导出所有产品的库存数量以在 Magento 中表现出色

magento - 可配置的虚拟产品magento

php - Woocommerce,根据运输类别隐藏运输方式

magento - Magento 的 FedEx/UPS 模块中的加拿大始发地址无法检索费率(服务不可用)

Ruby Mechanize 405 Net::HTTPMethodNotAllowed 错误,同时抓取 Fedex 计费

api - 如何在网站上测试 FedEx API

Magento:paypal 标准付款在付款完成后不会重定向到 Magento 成功页面