框分類在線支付配置說(shuō)明
框分類支持:支付寶、微信掃碼、微信公眾號(hào)三種支付方式
用戶可以通過(guò)在線支付購(gòu)買(mǎi)信息置頂、標(biāo)題加紅、開(kāi)通會(huì)員、企業(yè)建站、微優(yōu)惠。
站長(zhǎng)在后臺(tái)可自由修改價(jià)格
配置在線支付共兩步
1配置支付接口
2設(shè)置價(jià)格
配置支付接口
支付寶接口
注:需要自己申請(qǐng)支付寶的商家服務(wù)– 即時(shí)到帳服務(wù),大家按照支付寶的說(shuō)明申請(qǐng)就可以了,這里不做說(shuō)明
打開(kāi)支付寶網(wǎng)站www.alipay.com


登錄后,點(diǎn)擊商戶服務(wù)


賬戶管理


在商家信息管理中點(diǎn)查看PID|KEY


MD5密鑰,點(diǎn)查看


將合作伙伴身份PID和MD5密鑰填寫(xiě)到網(wǎng)站后臺(tái)– 支付管理– 接口配置中的支付寶接口ID和支付寶接口Key中


支付寶接口就配置好了
微信支付接口
注:需要認(rèn)證的服務(wù)號(hào),并開(kāi)通微信支付
打開(kāi)微信公眾號(hào)平臺(tái)https://mp.weixin.qq.com ,登錄公眾號(hào)


公眾號(hào)設(shè)置


功能設(shè)置
把js接口安全域名和網(wǎng)頁(yè)授權(quán)域名填好
填自己網(wǎng)站的域名


需要把這個(gè)文件下載上傳到網(wǎng)站根目錄,才可以配置域名


然后點(diǎn)基本配置


將開(kāi)發(fā)者ID和開(kāi)發(fā)者密碼復(fù)制,填寫(xiě)到網(wǎng)站后臺(tái)– 支付管理– 接口配置中的
微信公眾號(hào)APPID和微信公眾號(hào)APPSecret中


在IP白名單中,填寫(xiě)上您服務(wù)器或空間的IP




在點(diǎn)微信支付


這里的商戶號(hào)填到后臺(tái)支付接口設(shè)置中的微信商戶號(hào)中


開(kāi)發(fā)配置
支付授權(quán)目錄填:http://您的域名/pay/
登錄:http://pay.weixin.qq.com 微信支付管理平臺(tái)


賬戶中心


API安全


設(shè)置密鑰


設(shè)置密鑰之前可能會(huì)提示您安裝微信安全證書(shū),按照提示安裝即可。
這里的密鑰直接在后臺(tái)支付接口中,點(diǎn)生成支付密鑰,然后把生成的密鑰復(fù)制過(guò)去


填好密鑰,短信驗(yàn)證碼和登錄密碼后,點(diǎn)確認(rèn)。微信支付就配置好了。


配置支付價(jià)格
登錄后臺(tái)– 支付管理– 價(jià)格設(shè)置


這里可以填加各種價(jià)格。包括標(biāo)題加紅、超大格置頂、大格置頂、小格置頂、會(huì)員、企業(yè)建站、微優(yōu)惠


如圖,這里填加了一個(gè)超大格置頂、一天、價(jià)格為5元。
相同的類別可以填加多個(gè)不同時(shí)間和價(jià)格。
如1天5元、7天30元、1個(gè)月100元等,用戶可以自己選擇購(gòu)買(mǎi)。
訂單管理
后臺(tái)– 支付管理– 訂單管理中可以查看所有交易定單


ID:訂單的ID
用戶ID:購(gòu)買(mǎi)的用戶ID,未登錄的顯示0,點(diǎn)擊用戶ID可以直接跳轉(zhuǎn)到用戶編輯頁(yè)面
訂單號(hào):上面為框分類生成的訂單號(hào),下面是微信或支付寶的訂單號(hào)。
產(chǎn)品ID:是在價(jià)格設(shè)置中填加的產(chǎn)品ID
對(duì)象:用戶購(gòu)買(mǎi)產(chǎn)品生效的對(duì)象,當(dāng)購(gòu)買(mǎi)會(huì)員、企業(yè)建站、微優(yōu)惠時(shí),這個(gè)ID是用戶ID,點(diǎn)擊直接跳轉(zhuǎn)到用戶編輯頁(yè)面。當(dāng)購(gòu)買(mǎi)標(biāo)題加紅和置頂時(shí),這個(gè)ID是信息ID,點(diǎn)擊直接跳轉(zhuǎn)到信息編輯頁(yè)面。
價(jià)格:用戶付款的金額
支付方式:用戶的支付方式。支付寶或微信
狀態(tài):用戶是否支付成功
發(fā)起交易時(shí)間:用戶生成訂單時(shí)間
交易成功時(shí)間:用戶完成付款時(shí)間
備注:用戶購(gòu)買(mǎi)的內(nèi)容