Results 1 to 5 of 5
  1. #1
    Join Date
    Jun 2007
    Location
    Arkansas
    Posts
    71
    Plugin Contributions
    0

    Default Validate a new credit card

    I need to know how to add a new credit card to the validation for the manual credit card module. It is accually a gift card but is processed through my credit card terminal. The card is 16 digits, does not have a expiration date or CCV, the number begins with 2008.
    Justin Kumpe

  2. #2
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Validate a new credit card

    You'd have to add appropriate logic to the cc_validation class script.
    Or alter the cc payment module to skip validation if the card matches a certain pattern.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Jun 2007
    Location
    Arkansas
    Posts
    71
    Plugin Contributions
    0

    Default Re: Validate a new credit card

    would you be able to tell me how to do this? the code is confusing to me.
    Justin Kumpe

  4. #4
    Join Date
    Jun 2007
    Location
    Arkansas
    Posts
    71
    Plugin Contributions
    0

    Default Re: Validate a new credit card

    I am capable of entering the code I am just confused on how to write the code (I have already tried and failed).
    Justin Kumpe

  5. #5
    Join Date
    Jun 2007
    Location
    Arkansas
    Posts
    71
    Plugin Contributions
    0

    Default Re: Validate a new credit card

    Also I just realized that I forgot where the validation script was located. Having a hard time finding it again (I was not looking for it when I found it last time).
    Justin Kumpe

 

 

Similar Threads

  1. Replies: 1
    Last Post: 26 Oct 2009, 03:30 AM
  2. Why do I have credit card fields when the credit card module is not enabled?
    By RayDube in forum Built-in Shipping and Payment Modules
    Replies: 10
    Last Post: 8 Jan 2009, 07:39 PM
  3. Add new credit card
    By ngr in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 3 Jan 2007, 12:37 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg