erio
e3a000e0d4
refactor(payment): code standards fixes and regression repairs
Backend:
- Split payment_order.go (546→314 lines) into payment_order_lifecycle.go
- Replace magic strings with constants in factory, easypay, webhook handler
- Add rate limit/validity unit constants in payment_order_lifecycle, payment_service
- Fix critical regression: add PaymentEnabled to GetPublicSettings response
- Add missing migration 099_fix_migrated_purchase_menu_label_icon.sql
Frontend:
- Fix StripePopupView.vue: replace `as any` with typed interface, use extractApiErrorMessage
- Fix AdminOrderTable.vue: replace hardcoded column labels with i18n t() calls
- Fix SubscriptionsView.vue: replace hardcoded Today/Tomorrow with i18n
- Extract duplicate statusBadgeClass/canRefund/formatOrderDateTime to orderUtils.ts
- Add missing i18n keys: common.today, common.tomorrow, payment.orders.orderType/actions
- Remove dead PurchaseSubscriptionView.vue (replaced by PaymentView)
2026-04-11 13:16:35 +08:00
..
2026-04-11 13:16:35 +08:00
2026-04-11 13:16:35 +08:00
2026-03-15 17:52:29 +08:00
2026-03-09 01:18:49 +08:00
2026-04-09 02:20:51 +00:00
2026-04-09 02:20:51 +00:00
2026-04-05 17:11:01 +08:00
2026-04-05 17:11:01 +08:00
2026-03-08 14:12:17 +08:00
2026-03-08 14:12:17 +08:00
2026-04-04 12:38:50 +08:00
2026-04-04 12:38:50 +08:00
2026-03-15 16:21:49 +08:00
2026-04-08 10:39:15 -07:00
2026-04-05 17:11:01 +08:00
2026-03-09 19:55:18 +08:00
2026-03-18 11:31:32 +08:00
2026-04-01 02:20:13 +08:00
2026-04-04 12:38:50 +08:00
2026-04-11 13:16:35 +08:00
2026-04-04 11:25:01 +08:00
2026-03-05 16:46:14 +08:00
2026-03-15 22:13:42 +08:00
2026-04-09 12:29:49 +08:00
2026-04-09 12:29:49 +08:00
2026-03-24 09:52:56 +08:00
2026-03-21 23:38:00 +08:00
2026-04-11 13:16:35 +08:00
2026-04-11 13:16:35 +08:00
2026-04-11 13:16:35 +08:00
2026-04-11 13:16:35 +08:00
2026-03-15 22:13:12 +08:00
2026-04-05 17:11:01 +08:00
2026-04-11 13:16:35 +08:00