mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-09-24 16:05:44 +08:00
Backend: - Fix order physical deletion → status update to FAILED - Fix sync.Once race condition → mutex + bool pattern - Fix encryption key error silently ignored in wire.go - Fix ProviderInstanceResponse missing payment_mode field - Fix fullyDecodeURL infinite loop → single decode - Fix io.ReadAll without size limit → LimitReader - Fix webhook log exposing full rawBody → truncate + debug level - Recover cancelled/expired orders on webhook payment success Frontend: - Extract METHOD_ORDER to providerConfig.ts, remove duplicates - Add PAYMENT_MODE_REDIRECT/API constants, use in all components - Fix any types → unknown in StripePaymentView, PaymentView - Fix hardcoded English text → i18n keys - Fix Vue Router query as string → String() - Fix METHOD_ICONS.easypay reference to non-existent key