mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-09-24 16:05:44 +08:00
EasyPay popup mode relies on notify_url (webhook) to update order status, but if the callback is missed, orders stay PENDING forever. This adds: - POST /api/v1/payment/orders/verify endpoint that actively queries the upstream provider to check payment status - Frontend PaymentResultView calls verify when receiving EasyPay return_url params (out_trade_no) - Fix checkPaid to fall back to OutTradeNo when PaymentTradeNo is empty (popup mode doesn't have trade_no until the notify callback)