shanshanzhong147
|
87ebfa1fac
|
修复(#137): DeferCloseOrder 关单前反查支付网关 (启用 confirmationPayment)
Build docker and publish / build (20.15.1) (push) Failing after 18m47s
Build docker and publish / build (20.15.1) (pull_request) Failing after 19m31s
Squash merge of fix/137-defer-close-反查网关 (1367c4f).
DeferCloseOrder 直接将 status=1 订单关单,会把已经在网关侧完成支付但
notify 静默失败的订单错误关闭。本次在关单前调用 EPay 的网关查询接口
(confirmationPayment) 拿到三态结果:
- Paid: 原子化把 status 1->2,写回 trade_no,再投递 asynq 走激活流程
- Unpaid: 继续原来的 close 事务,把 status 改为 cancelled
- Unknown / 网关失败: 保持 status=1,下一轮 DeferClose 再试
新增 closeOrderLogic_test.go (232 行),覆盖三态分支 + recoverPaidOrder
的并发幂等。单测全量 PASS, go build + go vet 均干净。E2E 验收因测试环境
访问受限暂未跑,QA 已在 issue 上注明阻塞原因 (qa_partial_blocked_on_e2e_access)。
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-02 20:24:32 -07:00 |
|
shanshanzhong147
|
4d913c1728
|
修复缓存
Build docker and publish / build (20.15.1) (push) Successful in 7m26s
|
2026-03-06 21:58:29 -08:00 |
|
EUForest
|
80ee9a6acf
|
Merge upstream/master into develop
Sync upstream changes from perfect-panel/server
Includes updates from v1.0.1 to v1.2.5:
- Currency configuration support
- Subscribe improvements (short token, inventory check, etc.)
- Node management enhancements
- Database migrations
- Bug fixes and optimizations
|
2026-01-02 12:51:55 +08:00 |
|
Chang lue Tsen
|
82fd674ae4
|
feat(api): standardize timestamp field across log structures
|
2025-08-26 14:39:54 -04:00 |
|
Chang lue Tsen
|
87c771bbd4
|
refactor(log): consolidate logging models and update related logic for improved clarity and functionality
|
2025-08-20 13:36:06 -04:00 |
|
Chang lue Tsen
|
40c24fbc85
|
fix(purchase): update gift amount deduction logic and handle zero-amount order status
|
2025-07-24 03:06:44 +09:00 |
|
Chang lue Tsen
|
34c09c4618
|
refactor: update import paths from ppanel-server to server
|
2025-04-25 15:09:31 +09:00 |
|
Chang lue Tsen
|
8addcc584b
|
init: 1.0.0
|
2025-04-25 12:08:29 +09:00 |
|