v 0.3.11 :

- fixed error in creating card number
- fixed error in creating first date limit
- fixed error dont put card in valid after success payment
This commit is contained in:
asus
2024-03-20 18:58:46 +01:00
parent b57fb6156c
commit c973af3131
3 changed files with 3 additions and 2 deletions

View File

@@ -4,7 +4,7 @@ Plugin Name: cipf_plugin
Plugin URI:
Description:
Author: hugogogo
Version: 0.3.10.2
Version: 0.3.11
Author URI:
*/

View File

@@ -173,6 +173,7 @@ function success_payment_for_user_CIPF($user_id, $order_id) {
}
set_payment_success_CIPF($user_id);
set_account_valid_CIPF($user_id);
}

View File

@@ -188,7 +188,7 @@ function update_card_expiration_CIPF($user_id = null, $card_duration = '0') {
*/
$current_date_limit = get_date_limit_CIPF();
if ($current_date_limit === false) {
return false;
$current_date_limit = date_create('today');
}
/*