[英]Issue when integrating Fedex using php?
I am trying to integrate FedEx.我正在尝试整合 FedEx。 I got code from the following link FedEx PHP Code
我从以下链接获得了代码FedEx PHP Code
Also i found one post FedEx WebService WSDL我还发现了一篇FedEx WebService WSDL
I included the wsdl file using the code $path_to_wsdl = "RateService_v10.wsdl";
我使用代码
$path_to_wsdl = "RateService_v10.wsdl";
包含了 wsdl 文件$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,
当我运行 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
How to fix this issue ?如何解决这个问题? I want to get the shipping rate ?
我想获得运费? Kindly advice on this
请就此提出建议
我在 fedex-common.php5 中给出了错误的帐号
if($var == 'shipaccount') Return 'XXX'; //i replaced xxx with valid account number.
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.