支付宝订单查询文档
根据文档示例,运行下面PHP 代码
$aop = new AopClient ();
$aop->appId = C('alipay.app_id');
$aop->rsaPrivateKeyFilePath = C('alipay.private_key');//RSA私钥
$aop->alipayPublicKey = C('alipay.alipay_public_key');//支付宝公钥
$request = new AlipayTradeQueryRequest ();
$paramArray = array();
$paramArray['out_trade_no'] ='16031438100034854059';
$paramArray['trade_no'] ='2016031421007864720242676619';
$request->biz_content =json_encode($paramArray);
$result = $aop->execute ($request, NULL );
var_dump($result);
返回下面结果
{
"code":"40001",
"msg":"Missing Required Arguments",
"sub_code&