国通支付

This commit is contained in:
xucong 2024-11-19 15:45:46 +08:00
parent 92df59d136
commit 0bbd728900

@ -164,7 +164,7 @@ MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwRUsPpbQPhBWrxFhG00k9VBgnHc7dCZyTQYI
$result = $this->curl_get($u);
var_dump($result);
}
// 安心签
// 安心签(无营业执照)
public function anxinsignPerson(){
$data = [
'agetId'=>"FWH000015822",
@ -188,6 +188,39 @@ MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwRUsPpbQPhBWrxFhG00k9VBgnHc7dCZyTQYI
$result = $this->curl_post($url,$b);
var_dump($result);
}
// 安心签(有营业执照)
public function anxinsigncompany(){
$data = [
'agetId'=>"FWH000015822",
'custLogin'=>"17680341113",
'custName'=>"黄海勇",
"enterpriseName"=>"嘉兴市秀洲区新城街道东龙汇超市(个体工商户)",
"identType"=>"8",
"identNo"=>"92330411MAE2AHH11F",
// "email"=>"",// 手机号与邮箱必填其一
"phone"=>"17680341113",
"licenseNo"=>"92330411MAE2AHH11F",
"enterprisePhone"=>"17680341113",
"address"=>"浙江省嘉兴市秀洲区蓬莱路188号",
"transName"=>"黄海勇",
"transNo"=>"430481200011163558",
"accountName"=>"黄海勇",
"accountNo"=>"1204068809100156171",
'credNo'=>"430481200011163558",
"busName"=>"嘉兴市秀洲区新城街道东龙汇超市(个体工商户)",
'version'=>"1.0.0",
'timeStamp'=>time()
];
$d =$this->ASCII($data);
$data['sign'] = $this->sign($d,$this->publicKey);
print_r("<pre>");
var_dump($data);
$b = json_encode($data,true);
var_dump($b);
$url = "http://jghwucyshtgjcbrnxgwe.gtxygroup.com/testterpay/yyfsevr/anxinsign/person";
$result = $this->curl_post($url,$b);
var_dump($result);
}
// 异步支付回调
public function payNotify(){