Forums / Addon Payment Modules / How to hide CVV2 confirmation number on step 3 of checkout?

How to hide CVV2 confirmation number on step 3 of checkout?

Started by robertwhitis on 7 Jun 2011, 8:12 PM · Views: 1,410

Results 1 to 3 of 3
7 Jun 2011, 8:12 PM
#1
robertwhitis avatar

robertwhitis

New Zenner

Join Date:
Mar 2011
Posts:
42
Plugin Contributions:
0

How to hide CVV2 confirmation number on step 3 of checkout?

I am using the latest version of Zen Cart.

On step 3 of checkout, the confirmation step, I do not like that the CVV2 number is displayed, I would rather this be shown as Xs, or be hidden altogether.

Does anyone know how to do this? I looked into the tpl_checkout_confirmation_default.php file, but in the section that displays the payment info, the code is as follows:

<?php
  $class =& $_SESSION['payment'];
?>

<h3 id="checkoutConfirmDefaultPayment"><span style="color: #6E9606;"><?php echo HEADING_PAYMENT_METHOD; ?></span></h3> 
<h4 id="checkoutConfirmDefaultPaymentTitle"><span style="font-weight: normal;"><?php echo $GLOBALS[$class]->title; ?></span></h4>

<?php
  if (is_array($payment_modules->modules)) {
    if ($confirmation = $payment_modules->confirmation()) {
?>
<div class="important" style="font-weight: normal; margin-left: 3px;"><?php echo $confirmation['title']; ?></div>
<?php
    }
?>
<div class="important">
<?php
      for ($i=0, $n=sizeof($confirmation['fields']); $i<$n; $i++) {
?>
<div class="back"><?php echo $confirmation['fields'][$i]['title']; ?></div>
<div ><?php echo $confirmation['fields'][$i]['field']; ?></div>
<?php
     }
?>
      </div>
<?php
  }
?>

Any help would be appreciated!

7 Jun 2011, 11:49 PM
#2
nigelt74 avatar

nigelt74

Totally Zenned

Join Date:
Sep 2005
Location:
Waikato, New Zealand
Posts:
1,558
Plugin Contributions:
1

Re: How to hide CVV2 confirmation number on step 3 of checkout?

CVV2 isn't that part of a credit card, Zencart doesn't ship with a credit card module, which add-on are you using?

Webzings Design
Semi retired from Web Design

8 Jun 2011, 8:08 AM
#3
robertwhitis avatar

robertwhitis

New Zenner

Join Date:
Mar 2011
Posts:
42
Plugin Contributions:
0

Re: How to hide CVV2 confirmation number on step 3 of checkout?

I am using the QBMS payment module (Intuit's QuickBooks Merchant Services) which is a free ZC addon.