mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-09-24 16:05:44 +08:00
Root cause: Stripe instance had supported_types="card,alipay,link,wxpay" but only card/link were mapped to "stripe" group. Stripe's alipay/wxpay leaked into independent groups, and since Stripe had no limits configured, it triggered the "any unlimited → all zeros" early return, making ALL method limits show as zero. Fix: pcGroupByPaymentType now routes ALL types from Stripe provider instances to the "stripe" group (by checking ProviderKey, not sub-type). Frontend: Stripe provider dialog shows single "Stripe" limits entry instead of per-sub-type entries.