handle reminders before card expiration and account deletion

This commit is contained in:
asus
2024-04-11 11:34:27 +02:00
parent 6ecffc25f7
commit 6a7de4dadd
5 changed files with 386 additions and 111 deletions

View File

@@ -170,7 +170,7 @@ function success_payment_for_user_CIPF($user_id, $order_id) {
/*
* else
* order is important for some
* -> first update date, then schedul events
* -> first update date, then the rest
*
*/
update_card_date_expiration_CIPF($user_id);
@@ -182,6 +182,7 @@ function success_payment_for_user_CIPF($user_id, $order_id) {
set_payment_success_CIPF($user_id);
set_account_valid_CIPF($user_id);
reset_emails_reminders_choices_CIPF($user_id);
send_emails_CIPF('payment_success', $user_id);
}