zizi
b4ee983d1d
fix: validate direct payment callback amounts
...
Check direct payment callback currency, provider, and paid amount before settling Alipay or WxPay top-ups.
2026-05-20 15:49:08 +08:00
zizi
03e440b005
fix: apply affiliate rebates on topups
...
Move rebate processing into model transactions, keep frozen rebates out of transferable quota until release, and trigger top-up rebates idempotently.
2026-05-20 15:47:00 +08:00
zizi
56a9b1e956
feat: add wxpay direct payment flow
...
Add WxPay settings, APIv3 provider implementation, create/notify handlers, and provider-specific top-up settlement.
2026-05-20 15:18:17 +08:00
zizi
1de1cdb14f
feat: add promo code bonus flow
...
Add promo code models and APIs, persist selected promo codes on top-up orders, and apply bonus quota idempotently when payments complete.
2026-05-20 12:57:54 +08:00
CaIon
a7c38ec851
fix: add PaymentProvider field to prevent cross-gateway callback attacks
...
EPay allows users to switch payment methods (e.g. wxpay→alipay) during
checkout, causing callback rejection. Replace fragile blocklist guard
with a PaymentProvider field on TopUp and SubscriptionOrder that
identifies which gateway created the order.
2026-04-24 22:16:16 +08:00
Seefs
f995a868e4
Merge pull request #4089 from seefs001/feature/waffo-pay
...
rafactor: payment
2026-04-18 14:22:54 +08:00