diff --git a/StripeForm.php b/StripeForm.php index 51306b5..d023cf9 100644 --- a/StripeForm.php +++ b/StripeForm.php @@ -155,7 +155,7 @@ public function init() { });'; } - if($this->applyJqueryPaymentValidation && !isset($this->cardValidationBrandHandler)){ + if($this->applyJqueryPaymentValidation && !isset($this->brandIdentificationHandler)){ $this->brandIdentificationHandler = 'function(cardType){ $("#' . $this->brandContainerId . '").text(cardType); }';