WechatASP微信支付 ASP 版本
純 ASP 實現(xiàn)的支付接口(模式二),現(xiàn)在支持付款功能,包含完整的演示代碼。
測試說明:
1、環(huán)境配置
在IIS中將當前目錄設(shè)置為站點根目錄
2、程序測試
2.1、提交訂單頁測試
http://IP/order/index.asp
2.2、微信支付測試
http://IP/order/pay.asp?order_no=201721415151254913
2.3、訂單完成測試
http://IP/order/info.asp?order_no=201721415201355214
3、修改說明
在 /order/payconfig.asp 中修改支付參數(shù)即可,記得把前邊的 ' 給刪掉哦~
'設(shè)置支付參數(shù),也可以直接修改 WeChatPay.asp 'pay.AppID = "AppID" 'pay.AppSecret = "App密碼" 'pay.MchID = "商戶ID" 'pay.MchKey = "商戶密碼" 'pay.notifyUrl = "" 'notifyUrl不指定,則會自動根據(jù)當前環(huán)境判斷
評論
圖片
表情
