cipf v 0.5.8 handle partner events

This commit is contained in:
asus
2024-04-12 17:13:57 +02:00
parent 6aa3915ef9
commit bfa68a4dd7
11 changed files with 300 additions and 217 deletions

View File

@@ -155,6 +155,7 @@ function failure_payment_for_user_CIPF($user_id, $order_id, $status) {
function success_payment_for_user_CIPF($user_id, $order_id) {
Plgntls::debug_infos();
$acf_id = 'user_'.$user_id;
schedule_delete_orderid_CIPF($order_id, $user_id);
/*
@@ -182,7 +183,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);
reset_emails_reminders_choices_CIPF($acf_id);
send_emails_CIPF('payment_success', $user_id);
}