呼叫支付介面,實現直播帶貨系統原始碼的線上支付

雲豹科技阿星發表於2021-09-09

直播帶貨系統原始碼呼叫支付介面的用法分析

?>

pay.php頁面如下:

複製程式碼 程式碼如下:

error_reporting(0);

$aliname=$_POST["aliname"];

$alizipcode=$_POST["alizipcode"];

$aliphone=$_POST["aliphone"];

$aliaddress=$_POST["aliaddress"];

$aliorder=$_POST["aliorder"];

$alimailtype=$_POST["alimailtype"];

$alimoney=$_POST["alimoney"];

$alimob=$_POST["alimob"];

$alibody=$_POST["alibody"];

require_once("alipay_config.php");

require_once("alipay.php");

$cmd   = '0001';

$subject  = "訂單號:".$aliorder;

$body   = '商品介紹';

$order_no  = $aliorder;

$price   = $alimoney;

$url   = '你的網址

$type   = '1';

$number   =  '1';

$transport  = $alimailtype;

$ordinary_fee  = '0.00';

$express_fee  = '0.00';

$readonly  = 'true';

$buyer_msg  = $alibody;

$seller   = $selleremail;

$buyer   = '';

$buyer_name  = $aliname;

$buyer_address  = $aliaddress;

$buyer_zipcode  = $alizipcode;

$buyer_tel  = $aliphone;

$buyer_mobile  = $alimob;

$partner  = '2088002008096997';

$geturl = new alipay;

$link = $geturl->geturl

(

宣告:本文由雲豹科技轉發自coco-young部落格,如有侵權請聯絡作者刪除


來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/69982461/viewspace-2791293/,如需轉載,請註明出處,否則將追究法律責任。

相關文章