<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ??碼云GVP開源項目 12k star Uniapp+ElementUI 功能強大 支持多語言、二開方便! 廣告
                # 微信小程序配置 ***** ### **第一步:注冊微信小程序且開通微信支付** 1. 微信小程序登錄/注冊地址:[https://mp.weixin.qq.com/](https://mp.weixin.qq.com/) >(小程序類目可使用 教育 > 在線教育 ) 2. 微信商戶支付登錄/注冊地址:[https://pay.weixin.qq.com/](https://pay.weixin.qq.com/) ### **第二步:設置服務器域名** > **位置:登錄微信小程序平臺 -> 開發 -> 開發設置 -> 服務器域名** > request 合法域名:填寫你的站點域名 > socket 合法域名:填寫你的站點域名 > uploadFile 合法域名:填寫你的站點域名 和 遠程附件域名 > downloadFile 合法域名:填寫你的站點域名 和 遠程附件域名 ![](https://img.kancloud.cn/45/4e/454ec67faa075721cf1106b8ad6dea40_1295x919.png) ### **第三步:獲取小程序 AppID 和 AppSecret** > **位置:登錄微信小程序平臺 -> 開發 -> 開發設置** ![](https://img.kancloud.cn/5a/21/5a210fb7dd28cb245adc49039115cf1e_1359x633.png) ### **第四步:將獲取到的小程序 AppID 和 AppSecret 填入到花仙里后臺** > **位置:后臺 -> 渠道 -> 微信小程序** ![](https://img.kancloud.cn/9e/52/9e5204b353519dc4c2084783e1f4ea05_1253x856.png) ### **第五步:開通微信支付并關聯小程序微信支付** > **位置:微信支付后臺 -> 產品中心 -> AppID賬號管理** ![](https://img.kancloud.cn/0e/a9/0ea92410d0632301c303f4fb27e88412_1420x688.png) ***** **輸入上面小程序獲取到的 AppID 點擊提交** ![](https://img.kancloud.cn/5a/7c/5a7cb3f859217675a0127fb1384baaf4_1268x706.png) ***** ![](https://img.kancloud.cn/31/42/3142416a60b7612102647c4e8cd615e2_1541x901.png) ***** ![](https://img.kancloud.cn/60/fc/60fc1196afed4e602c605bdf7b30caea_1502x905.png) ***** ### **第六步:獲取微信支付商戶號和密鑰** **位置:微信支付后臺 -> 賬戶中心 -> API安全** **商戶號** ![](https://img.kancloud.cn/14/fc/14fc8bf562a17008d4704498f508e6d9_1417x754.png) ***** **商戶密鑰,定義 32 位的字符串** **特別注意:**(商戶秘鑰建議直接設置APlv3秘鑰!!!) 如果需要配置支付,同時需要提現功能,請先申請API證書,接著一定務必設置 APlv3秘鑰,并配置到支付后 ![](https://img.kancloud.cn/b2/78/b278776d3d1d7c2faf382947e1835967_2510x1664.png) ***** 如需只要支付功能,不需要配置提現功能,請先申請API證書,則是可以設置 APlv2秘鑰,并配置到支付后臺 ![](https://img.kancloud.cn/12/cd/12cd8eb10dc31dee47d75ef12fce6c06_2576x1642.png) ***** ### **第七步:填寫 支付商戶號 和 密鑰 到 花仙里 后臺** > 操作目錄:設置中心->支付管理->新版支付設置->支付模板管理 (新增支付模板,選擇 微信支付 ) ![](https://img.kancloud.cn/e1/1b/e11b2a90036c20a1426f4220c3bc1b3c_1254x973.png) ***** > 配置微信小程序管理的支付模板 ![](https://img.kancloud.cn/6e/a3/6ea34729412bcaa928f817219c777a1b_1822x984.png) ***** ### **第八步:獲取微信支付 apiclient_cert 和 apiclient_key(用于售后退款、分銷商傭金提現等)** **位置:微信支付后臺 -> 賬戶中心 -> API安全** ![](https://img.kancloud.cn/12/cd/12cd8eb10dc31dee47d75ef12fce6c06_2576x1642.png) ***** **根據提示步驟操作獲得 apiclient_cert 和 apiclient_key 文件,打開文件填寫到花仙里后臺支付模板中** ![](https://img.kancloud.cn/de/71/de713c330a700caf6f9a0d6659841b56_1090x436.png) ***** **提現需要開通【商家轉賬到零線】,配置IP地址** ![](https://img.kancloud.cn/98/92/98920798e0cdc74c555024d0c9ae47f1_1360x892.png) ***** ![](https://img.kancloud.cn/82/c1/82c12c4867bf55d821350a6e8d3b9956_1264x948.png) ***** ![](https://img.kancloud.cn/97/6c/976c24abab92e52305f529dd576e2a9b_1345x697.png) ***** 如圖所示,提現時提示:微信余額提現錯誤:此IP地姓名:址不允許調用該接口。則是未配置IP地址 ![](https://img.kancloud.cn/a2/fa/a2fad7cd2babf7ab19d763022c4f160d_1080x2340.png) ***** 配置IP地址后,這個提示代表提現成功 **支付配置要點歸納:** 支付商戶號:微信支付商戶平臺-賬戶中心-商戶信息-微信支付商戶號。 支付密鑰:微信支付商戶平臺-【賬戶中心】-【API安全】中設置【APIv3 秘鑰】,使用密鑰生成器生成32位密鑰并配置到微信支付商戶平臺和后臺PEM 證書:微信支付商戶平臺-【賬戶中心】-【API安全】中設置【API證書】,設置完成后上傳 證書密鑰:微信支付商戶平臺-【賬戶中心】-【API安全】中設置【API證書】,設置完成后上傳 證書序列號:使用商家轉賬到零錢功能時填寫此項,否則不需要填寫 請在微信支付商戶平臺【賬戶中心】-【API安全】-【管理證書】中查看。 提現:提現需要開通【商家轉賬到零線】,配置IP地址。 **注意:** 1、如微信打款報錯“Authorization不合法”,請檢查以上支付配置。 2、提現時提示:微信余額提現錯誤:此IP地址不允許調用該接口,則是未配置IP地址 ### **第九步:導入基礎裝修模板,小程序掃碼發版上傳** > 使用模板直接導入基礎模板裝修,在應和營銷菜單中找到微信小程序新版版本微信小程序管理員掃碼上傳 > 提示:為了快速過審,在 設置中心->全局設置->小程序助審 功能開啟(裝修頁面底部導航關閉不顯示,首頁放輪播圖2 張不帶任何跳轉鏈接,首頁往下 3-5篇相關文章,去掉任何可連接課程直播間的連接) ![](https://img.kancloud.cn/a2/73/a273c50fe8be92b90bd3fc7ad35826bd_1477x909.png) ***** ![](https://img.kancloud.cn/83/f6/83f6cc51010e2354daae8c0df4e54e7f_1899x731.png) ***** ![](https://img.kancloud.cn/a5/9c/a59cfa068f94176a304209c7d33719b7_1720x731.png) ***** ### **第十步:登錄微信小程序平臺上傳審核** **位置:微信小程序平臺 -> 開發 -> 開發設置** ![](https://img.kancloud.cn/a3/47/a347b15fccb63dd0c5bcc7843fae88bf_1573x924.png) ***** > 進入頁面路徑:hxl_yunke/pages/loading/index ![](https://img.kancloud.cn/b6/d8/b6d8702cec4e5338d33ec545b7bf23d4_1432x688.png) ***** ![](https://img.kancloud.cn/05/eb/05ebd8a04db57577ee14df8d32033c1e_1537x813.png) ***** ### **第十一步:微信通過審核后點擊發布按鈕(發布成功后半小時左右微信即可搜索到)**
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看