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:
@@ -4,7 +4,7 @@ Plugin Name: cipf_plugin
|
||||
Plugin URI:
|
||||
Description:
|
||||
Author: hugogogo
|
||||
Version: 0.3.10.2
|
||||
Version: 0.3.11
|
||||
Author URI:
|
||||
*/
|
||||
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -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');
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user