v 0.3.4 states are now handled with specific functions for setting, getting, and adding css

This commit is contained in:
asus
2024-03-19 16:27:38 +01:00
parent db1d16bd91
commit f7c805f22b
5 changed files with 115 additions and 16 deletions

View File

@@ -60,7 +60,7 @@ function update_user_pre_order_CIPF($message) {
* - 'nothing' -> output nothing on author page
*
*/
set_payment_started($user_id);
set_payment_started_CIPF($user_id);
}
@@ -139,7 +139,7 @@ function failure_payment_for_user_CIPF($user_id, $order_id, $status) {
delete_user_meta($user_id, $meta_order_id, $order_id);
set_payment_failure($user_id);
set_payment_failure_CIPF($user_id);
set_account_to_pay_CIPF($user_id);
}
@@ -172,7 +172,7 @@ function success_payment_for_user_CIPF($user_id, $order_id) {
}
set_card_renew_CIPF($user_id);
set_payment_success($user_id);
set_payment_success_CIPF($user_id);
set_account_valid_CIPF($user_id);
}