问题描述
我正在Magento网站上配置FEDEX运送.通过登录测试FEDEX帐户,我获得了测试帐号,密码,API密钥和仪表编号.我在Magento中配置了自己.看起来一切都很好.但是我不知道如何测试跟踪顺序".
I'm configuring FEDEX shipping in Magento website. I got test account number, password, API key and meter number by login in test FEDEX account. I configured myself in Magento. Looks like everything fine. But I don't know how to test is Track Order.
那么我在哪里可以找到运输方式的跟踪号?我应该随机输入还是如何获取?我尝试了一些论坛建议的数字.但是我的弹出窗口出现以下错误:
So where can I get tracking number for shipping methods? Should I enter randomly or how can I get that? I tried some forum suggested numbers. But I got below error in my popup:
Tracking information is currently not available
我还检查了Magento中的shipping_fedex
日志文件.在打印数组中记录了一些错误代码.我在下面输入.
I also checked my shipping_fedex
log file in Magento. got logged some error codes in printed array. That's I give in below.
**ERROR log**
[result] => stdClass Object (
[HighestSeverity] => ERROR
[Notifications] => stdClass Object (
[Severity] => ERROR
[Source] => trck
[Code] => 6035
[Message] => Invalid tracking numbers. Please check the following numbers and resubmit.
[LocalizedMessage] => Invalid tracking numbers. Please check the following numbers and resubmit.
)
[Version] => stdClass Object (
[ServiceId] => trck
[Major] => 5
[Intermediate] => 0
[Minor] => 0
)
)
FEDEX帮助:
按跟踪编号跟踪:您可以输入 一次最多30个跟踪号码.您可以输入以下任意组合 联邦快递,联邦快递货运,联邦地面,联邦快递SmartPost, 联邦快递货运或联邦快递自定义关键跟踪编号.请 确保每行仅输入一个跟踪号.
Track by Tracking Number: You can enter up to 30 tracking numbers at a time. You can enter any combination of FedEx Express, FedEx Express Freight, FedEx Ground, FedEx SmartPost, FedEx Freight, or FedEx Custom Critical tracking numbers. Please ensure that you enter only one tracking number per line.
根据Derek的建议,我使用了"99999999999".但是我没有得到回应.仍然弹出相同的错误. __pid =>2432
是什么意思?
I used "99999999999" as per Derek suggestion. But I got below response. Still same error in pop up. What does mean __pid =>2432
?
Array
(
[request] => <?xml version="1.0" encoding="UTF-8"?>
<FDXTrack2Request xsi="http://www.w3.org/2001/XMLSchema-instance" noNamespaceSchemaLocation="FDXTrack2Request.xsd"><RequestHeader><AccountNumber>510087062</AccountNumber><MeterNumber>0</MeterNumber></RequestHeader><PackageIdentifier><Value>999999999999</Value></PackageIdentifier><DetailScans>1</DetailScans></FDXTrack2Request>
[result] =>
[__pid] => 2432
)
推荐答案
您的问题一点也不愚蠢.我投票了.
Your question is not at all stupid. I upvoted it.
fedex的文档太可怕了,没有提到在测试过程中以及投入生产后如何使用其服务.他们的支持更糟.
The fedex documentation is horrible and doesn't mention how to use their services while testing and after moving to production. Their support is worse.
当我在互联网上闲逛时,我发现了一个页面,其中提到了跟踪号123456789012作为测试号.将服务路径设置为 https://wsbeta.fedex.com:443/web-services/track ,该请求将返回一个有效的响应,您可以以此为基础.
While I was rambling in the internet, I found a page mentioning the tracking number 123456789012 as a test number. Use it with your test credentials (key, password, account number and meter number), while you're setting your service path to https://wsbeta.fedex.com:443/web-services/track, and the request will return a valid response that you can build on.
这篇关于如何获得联邦快递的测试跟踪号?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!