Commit Graph

5 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
Ember Moth 8b48286365 add payment type field (alipay/wxpay) to EPay config 2025-10-15 23:20:33 +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