🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
# Stripe支付配置说明 ## 第一步:获取 API keys; 登录[https://dashboard.stripe.com/](https://dashboard.stripe.com/)  (如未注册请先自行注册),进入 【API keys】 ![](https://img.kancloud.cn/1e/03/1e0372cc2838643b4e8a7fd1fba0bfb9_1376x706.png) 复制出Publishable key 和 Secret key 保存好备用; ## 第二步:设置Webhooks ,进入【Webhooks】点击“Add endpoint“ 按钮; ![](https://img.kancloud.cn/92/df/92df8b73e1b4e359629eaaf147447fb4_1387x631.png) ``` Endpoint URL:输入“https://你的域名/pay/notify/stripe“或“https://你的域名/m/pay/notify/stripe“ ``` Select events to listen to: 选择: ``` checkout.session.async_payment_failed checkout.session.async_payment_succeeded checkout.session.completed ``` ![](https://img.kancloud.cn/56/20/5620995819d4964341eef8477a4aa781_1425x781.png) 复制出:endpoint\_secret;保存好备用; ## 第三步:配置后台; 进入你的BollteCMS管理后台:【系统 - 接口设置 - 支付 - stripe - 编辑】; ![](https://img.kancloud.cn/8c/68/8c685e9b53405dcf87410a25434da140_1432x771.png) 将上面获取到的:“PublishableKey“,“Secretkey“,“EndpointSecret“填入对应的输入框 保存; 注意:“更新缓存“后才能生效;