feat(payment): align VIP/balance/order schema keys with Zibll
Extract payment readers into AKSRT_Settings_Payment_Runtime and store canonical Zibll option IDs (pay_user_vip_*, pay_balance_*, pay_box_position, pay_mark, pay_rebate_*, pay_income_*) in aksrt_settings with no legacy payment_* dual-read. Update PHP/JS payment schemas and VIP sidebar gate.
This commit is contained in:
1 parent
80d2c5fbc3
commit
d9fbacbce6
12 files changed
+703
-554
No files matched your search
@@ -55,7 +55,7 @@ extract($args, EXTR_SKIP); // phpcs:ignore WordPress.PHP.DontExtract.extract_ext
|
||||
<?php if ($is_own_profile) : ?>
|
||||
<?php
|
||||
$orders_url = function_exists('aksrt_get_orders_page_url') ? aksrt_get_orders_page_url() : '';
|
||||
$show_vip = class_exists('AKSRT_Settings') && !empty(AKSRT_Settings::get_all()['payment_vip_enabled']);
|
||||
$show_vip = class_exists('AKSRT_Settings') && !empty(AKSRT_Settings::get_payment_vip_settings()['enabled']);
|
||||
$credits_enabled_side = class_exists('AKSRT_Settings') && AKSRT_Settings::credits_enabled();
|
||||
?>
|
||||
<?php if ($orders_url || $show_vip || $credits_enabled_side) : ?>
|
||||
|
||||
Reference in new issue
Block a user