1

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

4

1 回答 1

0

我在 fedex-common.php5 中输入了错误的帐号

if($var == 'shipaccount') Return 'XXX'; //i replaced xxx with valid account number.
于 2011-12-12T14:42:35.720 回答