renew page message are working
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user