From 4691fa169bc18c7788a5857e6a95ddf5708fa4ce Mon Sep 17 00:00:00 2001 From: liming <1628883533@qq.com> Date: Thu, 11 Jul 2024 09:32:40 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=BB=98=E6=AC=BE=E7=A0=81?= =?UTF-8?q?=E6=94=AF=E4=BB=98=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/src/4.x/payment/micropay.md | 20 ++++++++++++++++++++ docs/src/4.x/sidebar.js | 1 + docs/src/5.x/payment/micropay.md | 20 ++++++++++++++++++++ docs/src/5.x/sidebar.js | 1 + 4 files changed, 42 insertions(+) create mode 100644 docs/src/4.x/payment/micropay.md create mode 100644 docs/src/5.x/payment/micropay.md diff --git a/docs/src/4.x/payment/micropay.md b/docs/src/4.x/payment/micropay.md new file mode 100644 index 000000000..2009a917e --- /dev/null +++ b/docs/src/4.x/payment/micropay.md @@ -0,0 +1,20 @@ +# 付款码支付 + +## 配置 + +> 请务必先熟悉流程: + + +```php +$result = $app->pay([ + 'body' => 'image形象店-深圳腾大- QQ公仔', + 'out_trade_no' => '20150806125346', + 'total_fee' => 88, + 'spbill_create_ip' => '123.12.12.123', // 可选,如不传该参数,SDK 将会自动获取相应 IP 地址 + 'auth_code' => '120061098828009406', // 扫码支付付款码,设备读取用户微信中的条码或者二维码信息 +]); +``` + +#### 支付结果 + +付款码支付方式没有回调通知,支付结果直接返回,请参考:[微信付款码支付文档](https://pay.weixin.qq.com/wiki/doc/api/micropay.php?chapter=5_1) 更新您的订单状态。 diff --git a/docs/src/4.x/sidebar.js b/docs/src/4.x/sidebar.js index ae9757160..f6a0fdf44 100644 --- a/docs/src/4.x/sidebar.js +++ b/docs/src/4.x/sidebar.js @@ -70,6 +70,7 @@ exports = module.exports = [ { text: '账单', link: '/4.x/payment/bill.html' }, { text: '通知', link: '/4.x/payment/notify.html' }, { text: '红包', link: '/4.x/payment/redpack.html' }, + { text: '付款码支付', link: '/4.x/payment/micropay.html' }, { text: '扫码支付', link: '/4.x/payment/scan-pay.html' }, { text: 'JSSDK', link: '/4.x/payment/jssdk.html' }, { text: '企业付款', link: '/4.x/payment/transfer.html' }, diff --git a/docs/src/5.x/payment/micropay.md b/docs/src/5.x/payment/micropay.md new file mode 100644 index 000000000..2009a917e --- /dev/null +++ b/docs/src/5.x/payment/micropay.md @@ -0,0 +1,20 @@ +# 付款码支付 + +## 配置 + +> 请务必先熟悉流程: + + +```php +$result = $app->pay([ + 'body' => 'image形象店-深圳腾大- QQ公仔', + 'out_trade_no' => '20150806125346', + 'total_fee' => 88, + 'spbill_create_ip' => '123.12.12.123', // 可选,如不传该参数,SDK 将会自动获取相应 IP 地址 + 'auth_code' => '120061098828009406', // 扫码支付付款码,设备读取用户微信中的条码或者二维码信息 +]); +``` + +#### 支付结果 + +付款码支付方式没有回调通知,支付结果直接返回,请参考:[微信付款码支付文档](https://pay.weixin.qq.com/wiki/doc/api/micropay.php?chapter=5_1) 更新您的订单状态。 diff --git a/docs/src/5.x/sidebar.js b/docs/src/5.x/sidebar.js index 127dd7af5..bbf9b074b 100644 --- a/docs/src/5.x/sidebar.js +++ b/docs/src/5.x/sidebar.js @@ -88,6 +88,7 @@ exports = module.exports = [ { text: '账单', link: '/5.x/payment/bill.html' }, { text: '通知', link: '/5.x/payment/notify.html' }, { text: '红包', link: '/5.x/payment/redpack.html' }, + { text: '付款码支付', link: '/5.x/payment/micropay.html' }, { text: '扫码支付', link: '/5.x/payment/scan-pay.html' }, { text: 'JSSDK', link: '/5.x/payment/jssdk.html' }, { text: '企业付款', link: '/5.x/payment/transfer.html' },