fix(vip): Batch 0 wiring for VIP settings, URLs, and order meta

Wire get_vip_settings alias, tab aliases for vip/assets, expired-level meta,
VIP2 order-level fallback, JSON-safe order notes, and header/float pay-vip CTAs.
This commit is contained in:
kate522 committed 2026-07-21 16:16:43 +08:00
1 parent 01719b7fa1
commit 69836154fd
9 files changed
+122 -71

No files matched your search

@@ -159,6 +159,15 @@ trait CreditsPaymentGroups {
return PaymentRuntime::get_payment_vip_settings();
}
/**
* Alias for callers that expect get_vip_settings() (header CTA, float buttons).
*
* @return array<string,mixed>
*/
public static function get_vip_settings(): array {
return self::get_payment_vip_settings();
}
/**
* @return array{enabled:bool,share_ratio:int,settlement_threshold:int,cycle_days:int,note:string}
*/