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