Issues using a Fedex Webservice via WSDL/SOAP

前端 未结 6 2137
灰色年华
灰色年华 2021-02-08 13:22

I downloaded the sample code to request a rate from fedex\'s website... i placed the WSDL file in the proper location, I have my acct number, password, meter number, and key. Wh

6条回答
  •  南笙
    南笙 (楼主)
    2021-02-08 13:49

    Edit fedex-common.php5 file replace 'XXX' with your info in the following params

    if($var == 'shipaccount') Return 'YOUR TEST ACCOUNT NUMBER HERE'; 
    if($var == 'billaccount') Return 'YOUR TEST ACCOUNT NUMBER HERE';
    if($var == 'meter') Return 'YOUR TEST METER NUMBER HERE';
    if($var == 'key') Return 'YOUR TEST KEY HERE';
    if($var == 'password') Return 'YOUR TEST PASSWORD HERE';
    

    Hope this helps someone.

提交回复
热议问题