From ab5e209f8e04edbcb408b074d1e2d61aa3acaaf7 Mon Sep 17 00:00:00 2001 From: asus Date: Sat, 4 May 2024 16:16:05 +0200 Subject: [PATCH] fixed error in paiement fabrication when viewing paiement page back to normal prize --- plugins/cipf_plugin/php/paypal/payment_page.php | 3 +++ private | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/plugins/cipf_plugin/php/paypal/payment_page.php b/plugins/cipf_plugin/php/paypal/payment_page.php index 9c9ef7f..e745824 100644 --- a/plugins/cipf_plugin/php/paypal/payment_page.php +++ b/plugins/cipf_plugin/php/paypal/payment_page.php @@ -49,6 +49,9 @@ function payment_page_checks_CIPF() { // get the user id $user_id = get_current_user_id(); + + // also reset change card for 5€ + reset_acf_prof_change_card_CIPF(); } add_action('wp', 'payment_page_checks_CIPF'); diff --git a/private b/private index 675cdf9..0c87b78 160000 --- a/private +++ b/private @@ -1 +1 @@ -Subproject commit 675cdf94c9c4362fb48f9cba3d917b9f9d210257 +Subproject commit 0c87b788fa4e488dd90f30612b706e62c2970b39