diff --git a/js/jquery/jquery.validate.creditcard2-1.0.1.js b/js/jquery/plugins/jquery.validate-creditcard.js similarity index 100% rename from js/jquery/jquery.validate.creditcard2-1.0.1.js rename to js/jquery/plugins/jquery.validate-creditcard.js diff --git a/modules/authorizeaim/authorizeaim.php b/modules/authorizeaim/authorizeaim.php index 191e6a930..c3ce0288a 100755 --- a/modules/authorizeaim/authorizeaim.php +++ b/modules/authorizeaim/authorizeaim.php @@ -201,7 +201,7 @@ class authorizeAIM extends PaymentModule public function hookHeader() { - $this->context->controller->addJS(_PS_JS_DIR_.'jquery/jquery.validate.creditcard2-1.0.1.js'); + $this->context->controller->addJqueryPlugin('validate-creditcard'); } /**