알리페이를 알리페이로 이체하여 실명을 검증하다

public static functionaliPay애플y($data) {require'alipay/config.php', $out biz no = $dataly no'= $require'alipayy/config.php', $out no = $data 현금인출증번호 $payee account = $data['alipay account'= $data[alipay account[alcount];;;;;;$data[alipay account biz bizzzzzzzzzzzzz bizzzzzzzzzzz nono nonono nonoreal name = $data ['alipay realname'];//결제 인터페이스 실례화 $aop = new\AopClient();$aop->gatewayUrl = $config['gatewayUrl'];//알리페이 게이트웨이 $aop->appId = $config['app id'];$aop->rsaPrivateKey = $config['merchant_private_key'];$aop->alipayrsaPublicKey = $config['alipay_public_key'];$aop->apiVersion = '1.0';$aop->signType = $config['sign_type'];$aop->postCharset = $config['charset'];$aop->format = "json";$request = new\AlipayFundTransToaccountTransferRequest();//$request->setBizContent("{"."\"out_biz_no\":\"$out_biz_no\","."\"payee_type\":\"ALIPAY_LOGONID\","."\"payee_account\":\"$payee_account\","."\"amount\":\"$amount\","."\"remark\":\"$remark\","."\"payer_show_name\":\"$payer_show_name\","."\"payee_real_name\":\"$payee_real_name\""."}");
    $result = $aop->execute($request);// object

    $responseNode = str_replace(".", "_", $request->getApiMethodName()) . "_response";
    $resultCode = $result->$responseNode->code;
    return $resultCode;
}

좋은 웹페이지 즐겨찾기