使用 php 集成 Fedex 时出现问题?
我正在尝试整合联邦快递。我从以下链接获取代码 FedEx PHP 代码
我还发现了一篇文章FedEx WebService WSDL
我使用代码 包含了 wsdl 文件$path_to_wsdl = "RateService_v10.wsdl";
我已使用我的凭据提供了相同的代码。当我运行 php 文件时,出现以下错误,
Error in processing transaction.
ERROR
crs
300
Package 1 - Group package count must be at least a value of 1.
Package 1 - Group package count must be at least a value of 1.
Catchable fatal error: Object of class stdClass could not be converted to string in /var/www/standard_php/php/RateWebServiceClient/test.php on line 80
如何解决此问题?我想知道运费吗? 请对此提出建议
I am trying to integrate FedEx. I got code from the following link FedEx PHP Code
Also i found one post FedEx WebService WSDL
I included the wsdl file using the code $path_to_wsdl = "RateService_v10.wsdl";
I have given the same code with my credentials. When i ran the php file ,i am getting the following error,
Error in processing transaction.
ERROR
crs
300
Package 1 - Group package count must be at least a value of 1.
Package 1 - Group package count must be at least a value of 1.
Catchable fatal error: Object of class stdClass could not be converted to string in /var/www/standard_php/php/RateWebServiceClient/test.php on line 80
How to fix this issue ? I want to get the shipping rate ?
Kindly advice on this
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我在 fedex-common.php5 中提供了错误的帐号
I gave the wrong account number in fedex-common.php5