Previous Topic

Next Topic

Book Contents

Removing Credit Card number Validation

By default, SalesCart runs a CheckLuhn routine. CheckLuhn is an algorithm which can mathematically determine if a credit card number is valid. It does not ensure that the card is not fraudulent, but it does at least ensure the card number is mathematically possible. This helps to reduce fraud and wasted calls to the credit card processing terminal by preventing customers from continuing without at least a "mathematically" feasible credit card number. To remove the CheckLuhn routine, follow these steps:

  1. Open you website design tool.
  2. Locate and double-click on the file confirm1.php in the sc-bin folder.
  3. Select the html tab or code-view tab to make your changes. Locate the fifth line from the top:
  4. <%

    session_start();

    require("../gbl.php");

    %>

    <!--#include file="checkluhn.inc"-->

    <%

  5. This line tells SalesCart to include and run the checkluhn.inc file. Highlight the text
  6. <!--#include file="checkluhn.inc"-->

  7. Delete the entire line. You may add this line back at a later time if you wish to add the Checkluhn routine back. When done the file should look like this:
  8. <%

    session_start();

    require("../gbl.php");

    %>

See Also

Modifying the CheckOut System

Customer Receipts via E-Mail

Remove the Merchant Email Component

Remove Shipping Options

Remove the Payment Requirement

Shipping Charges Based on Value or Volume

Postponing Customer Checkout

Validating fields on Checkout Pages

Re-running the SalesCart Web Wizard