Skip to content
This repository has been archived by the owner on Mar 18, 2020. It is now read-only.

Commit

Permalink
Remove name attribute so card number can never be accidentally transm…
Browse files Browse the repository at this point in the history
…itted to server
  • Loading branch information
drbyte committed Feb 20, 2017
1 parent 8a89c84 commit 9f1181d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions includes/modules/payment/payeezyjszc.php
Original file line number Diff line number Diff line change
Expand Up @@ -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' => '<input type="text" payeezy-data="cc_number" id="' . $this->code . '_cc-number"' . $onFocus . ' autocomplete="off">',
'tag' => $this->code . '_cc-number',
],
[
Expand All @@ -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' => '<input type="number" size="4" maxlength="4" payeezy-data="cvv_code" id="' . $this->code . '_cc-cvv"' . $onFocus . ' autocomplete="off">',
'tag' => $this->code . '_cc-cvv',
],
[
Expand Down

0 comments on commit 9f1181d

Please sign in to comment.