From 9f1181d513914f929833a0efdd1a93be4ba90fcc Mon Sep 17 00:00:00 2001 From: Chris Brown Date: Mon, 20 Feb 2017 17:35:39 -0500 Subject: [PATCH] Remove name attribute so card number can never be accidentally transmitted to server --- includes/modules/payment/payeezyjszc.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/includes/modules/payment/payeezyjszc.php b/includes/modules/payment/payeezyjszc.php index 451ee25..bbd7330 100644 --- a/includes/modules/payment/payeezyjszc.php +++ b/includes/modules/payment/payeezyjszc.php @@ -206,8 +206,7 @@ function selection() ], [ 'title' => MODULE_PAYMENT_PAYEEZYJSZC_TEXT_CREDIT_CARD_NUMBER, - 'field' => zen_draw_input_field($this->code . '_cc_number', '', - 'payeezy-data="cc_number" id="' . $this->code . '_cc-number"' . $onFocus . ' autocomplete="off"'), + 'field' => '', 'tag' => $this->code . '_cc-number', ], [ @@ -218,7 +217,7 @@ function selection() ], [ 'title' => MODULE_PAYMENT_PAYEEZYJSZC_TEXT_CVV, - 'field' => zen_draw_input_field($this->code . '_cc_cvv', '', 'size="4" maxlength="4"' . 'payeezy-data="cvv_code" id="' . $this->code . '_cc-cvv"' . $onFocus . ' autocomplete="off"'), + 'field' => '', 'tag' => $this->code . '_cc-cvv', ], [