Commit Graph

8 Commits

Author SHA1 Message Date
架构师 1367c4fefd 修复(#137): DeferCloseOrder 关单前反查支付网关
启用 confirmationPayment 作为关单兜底,对 status=1 订单反查 Alipay/Stripe/EPay
网关,三态分支处理:
  - 网关已收钱:不关单,订单进入 status=2 + 投递 ForthwithActivateOrder
  - 网关明确未支付/已取消:维持原 close 行为,置 status=3
  - 网关反查失败(超时/5xx/网络错):保留 status=1,等下一次 DeferCloseOrder 重试

EPay 客户端 QueryOrderStatus 改为返回 (bool, error),避免"未支付"与"查询失败"
混淆。Balance 等无网关方法保持 Unpaid 兜底,"用户主动取消"路径回归通过。

Co-authored-by: multica-agent <github@multica.ai>
2026-06-01 03:08:46 -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