微信掃碼支付asp接口源碼分享:
微信公眾號接口配置:
掃碼支付需要微信公眾號中四個參數,分別如下:
以下為配置文件源代碼:
config.asp
-------------------------------------
option explicit
Response.CodePage=65001
Response.Charset="UTF-8"
dim getPartnerKey,getAppId,getSecret,getMCHID,notify_url
getMCHID = "1484846642" '微信支付分配的商戶號mch_id
getPartnerKey = "1990cf57d1fa9544f26001e61380c93c" '密鑰
getAppId = "wx150fe9128643f7b2" '微信分配的公眾賬號 appid
getSecret = "82b27e72c89187889ef3f33500346435" '微信分配的公眾賬號 srcret
notify_url = "http://www.www122sihucom3.cn/weipay/notify.asp" '異步回調地址
----------------------------
獲取以上四個參數請參考下面這篇文章: