💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
# 如何配置微信支付? **1、登录服务号,打开公众号设置,如未认证,请先认证服务号,认证费300元/年** ![](https://cdn.nlark.com/yuque/0/2021/png/2566134/1637802354355-bbaa23a7-c6a6-4d24-83ec-f5274a4c9d91.png) **2、打开公众号设置-> 功能设置,将你的备案域名绑定进服务号中** ![](https://cdn.nlark.com/yuque/0/2021/png/2566134/1637802276848-d7e33718-5577-41f7-b296-dcdd0f67a6b8.png) **3、点击三个域名配置的设置。会弹出域名添加弹窗,将域名放进服务号的弹窗中** ![](https://cdn.nlark.com/yuque/0/2021/png/2566134/1637802473070-7adec499-6eca-4e19-b095-c7f79d3817d4.png) **下载弹窗中的文件,将文件传入宝塔的/www/wwwroot/douyin\_xunpang/public中** ![](https://cdn.nlark.com/yuque/0/2021/png/2566134/1637802542119-00ec7d25-cf01-485d-8a46-3cdd9f487a92.png) **再次点击提交即增加域名成功** **4、基本配置中,可以看到前面两个就是公众号appid,跟公众号秘钥,可以填入询盘总系统中** ![](https://cdn.nlark.com/yuque/0/2021/png/2566134/1637802694461-4bd1e2b9-a718-4cf3-8e96-f85b5532f27e.png) **5、配置ip白名单,将服务器的ip加入进来** ![](https://cdn.nlark.com/yuque/0/2021/png/2566134/1637802730099-6966e8da-97bc-4260-b19b-3beaf424bb87.png) **6、关联微信商户号** ![](https://cdn.nlark.com/yuque/0/2021/png/2566134/1637802881271-b3216e0c-d486-4030-b592-e5954c131043.png) **7、登录微信商户平台,设置好支付授权目录。添加两个目录** **1、域名 + /store/** **2、域名+ /store/index/** ![](https://cdn.nlark.com/yuque/0/2021/png/2566134/1637802954113-7ec5f740-fbfb-4e8e-a1f1-f721c7431025.png) **8、取api支付秘钥。随意设置的32位字符,将该支付秘钥填入询盘后台中** ![](https://cdn.nlark.com/yuque/0/2021/png/2566134/1637803013066-17945c9a-74fc-43f5-a3a3-1e8498182ab8.png) **9、支付页面为(需要用手机微信打开)** ![](https://cdn.nlark.com/yuque/0/2021/png/2566134/1629276143355-1988e0c4-748a-482d-ba38-b8c57ed0dbec.png)