fix: 修复微信付款码 shortcut 支付插件执行顺序错误 (#972)

* fix: 微信付款码支付插件执行顺序

* docs: 微信付款码支付请求补充必填参数

---------

Co-authored-by: yansongda <me@yansongda.cn>
This commit is contained in:
Remx Xu 2024-04-28 20:49:26 +08:00 committed by GitHub
parent ccc3d76bf6
commit fe81a43ceb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 11 additions and 3 deletions

View File

@ -1,3 +1,9 @@
## v3.7.1
### fixed
- fix: 修复微信付款码 shortcut 支付插件执行顺序错误(#972)
## v3.7.0 ## v3.7.0
### added ### added

View File

@ -21,8 +21,8 @@ class PosShortcut implements ShortcutInterface
return [ return [
StartPlugin::class, StartPlugin::class,
PayPlugin::class, PayPlugin::class,
AddPayloadSignaturePlugin::class,
AddPayloadBodyPlugin::class, AddPayloadBodyPlugin::class,
AddPayloadSignaturePlugin::class,
AddRadarPlugin::class, AddRadarPlugin::class,
VerifySignaturePlugin::class, VerifySignaturePlugin::class,
ResponsePlugin::class, ResponsePlugin::class,

View File

@ -31,8 +31,8 @@ class PosShortcutTest extends TestCase
self::assertEquals([ self::assertEquals([
StartPlugin::class, StartPlugin::class,
PayPlugin::class, PayPlugin::class,
AddPayloadSignaturePlugin::class,
AddPayloadBodyPlugin::class, AddPayloadBodyPlugin::class,
AddPayloadSignaturePlugin::class,
AddRadarPlugin::class, AddRadarPlugin::class,
VerifySignaturePlugin::class, VerifySignaturePlugin::class,
ResponsePlugin::class, ResponsePlugin::class,

View File

@ -105,7 +105,9 @@ $order = [
'total' => 1, 'total' => 1,
], ],
'scene_info' => [ 'scene_info' => [
'id' => '5678' 'store_info' => [
'id' => '5678'
],
], ],
]; ];