# 支付设置
~~~
打开微擎后台 切换 你要操作的微信公众号
~~~
![](https://img.kancloud.cn/63/59/6359dea8c3b0c32227a55e806b524931_1193x898.png)
![](https://img.kancloud.cn/e1/6f/e16fe2edd2e3368ff325bd9577855aad_1384x914.png)
~~~
选中微信支付 ,接口类型根据自身情况选择
~~~
![](https://img.kancloud.cn/14/0e/140e6a6d395a2d45ab9efb8cb10fa314_747x802.png)
~~~
生成秘钥
~~~
![](https://img.kancloud.cn/b8/50/b850de2a29e2bea9a86a33fddc88f655_731x780.png)
~~~
微信支付官网:https://pay.weixin.qq.com
~~~
安装证书(已经安装可以跳过)
![](https://img.kancloud.cn/bb/19/bb19d76e2cd8b286ec10630fe16fad7a_994x595.png)
![](https://img.kancloud.cn/e5/43/e54326e636eaffcc7e329b8d1cc99bee_1853x1177.png)
![](https://img.kancloud.cn/ad/76/ad7690216a56cee07b6e43725d57ec71_1819x933.png)
![](https://img.kancloud.cn/99/dc/99dc08f5b362656eb76a8ebf74c24b83_1074x534.png)
![](https://img.kancloud.cn/f7/b3/f7b3f03f2cdb443bd1d7181508b68cec_1095x525.png)
![](https://img.kancloud.cn/5b/27/5b2787df8e3dd6d4701254ca5b2662b2_771x583.png)
# 安装操作证书(已经安装可以跳过)
![](https://img.kancloud.cn/1a/56/1a56093496cf8d7efee3869a1c5bc1e9_1791x866.png)
![](https://img.kancloud.cn/75/0d/750d7e80986caf0a98fb291b8382c7a0_958x811.png)
![](https://img.kancloud.cn/99/9c/999c1c43d228a4d0999cbd463bf43d39_1096x545.png)
# 设置支付授权目录
![](https://img.kancloud.cn/30/1b/301ba8ca83c7ea4ef89b0ae8409597e9_1374x993.png)
![](https://img.kancloud.cn/08/0d/080d2fe9d174ceb9418d25f35504a243_1394x928.png)
~~~
添加刚刚微擎显示的jspai授权目录即可
~~~
![](https://img.kancloud.cn/d1/d6/d1d6df79dcaefe4191fa2e50cff8d6b4_1308x894.png)
# 设置支付秘钥
~~~
复制刚刚微擎生成的秘钥即可
~~~
![](https://img.kancloud.cn/c6/c8/c6c835e3f1413495e370a01f946dc555_1839x1264.png)