renew page message are working

This commit is contained in:
asus
2024-03-07 23:27:20 +01:00
parent 9b5e44dfd3
commit 909a34cd37
5 changed files with 29 additions and 9 deletions

View File

@@ -148,10 +148,13 @@ function validate_payment_for_user_CIPF($user_id, $order_id) {
update_field($acf_card_expiration, $date_plus_one_year->format($acf_date_format), $acf_id);
/*
* change user profil to active
* change user profil :
* - to active
* - card state is renewal
*
*/
update_field($prof_is_activ, 'Actif', $acf_id);
update_field($acf_card_state, 'Renouvellement', $acf_id);
}