Results 1 to 6 of 6
  1. #1
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,748
    Plugin Contributions
    0

    Default Payflow Pro (new Module) problem with card validation

    Just recently updated a client to 1.3.8a so the could use the new Payflow module and we are having a problem with cards being accepted. With the module we get the following:

    We apologize for the inconvenience, but the credit card you entered is not one that we accept. Please use a different credit card.
    Now when I test with the offline credit card module it test card are accepted just fine.

    My question is do the 2 modules use the same process to evaluate the Credit Card Type for acceptance or does the payflow module handle it differently.....and if it handles it differently how do I fix it
    Mike
    GeekHost - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Payflow Pro (new Module) problem with card validation

    The Payflow module uses the same cc_validation code as the other payment modules.
    .

    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
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Payflow Pro (new Module) problem with card validation

    When you get that error message on-screen, look at View Source in the browser, and see whether there are any HTML comments following it, ie: <!-- module-name, cc_type it found -->

    Also, "when" does the message appear? Card validation happens in 2 places: checkout_payment page, and again after clicking submit on checkout_confirmation.
    .

    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.

  4. #4
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,748
    Plugin Contributions
    0

    Default Re: Payflow Pro (new Module) problem with card validation

    The message appears after confirming the order and throws you back to the payment page. The language used in the error is specific to the paypal modules "We apologize for the inconvenience, but the credit card you entered is not one that we accept. Please use a different credit card."

    There is a comment after the message stack error
    Code:
    <!-- [payflow Master Card] -->
    Mike
    GeekHost - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  5. #5
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Payflow Pro (new Module) problem with card validation

    Okay, so the issue is a result of the difference between "MasterCard" and "Master Card" (note the space), which suggests you've got some custom additions in your cc_validation.php class, which have the space in the name.

    The simplest way to accommodate it is to edit line 451 of the payflow module, and add 'Master Card" to the list, like this:
    Code:
          if (!in_array($cc_validation->cc_type, array('Visa', 'MasterCard', 'Master Card', 'Switch', 'Solo', 'Discover', 'American Express', 'Maestro'))) {
    .

    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.

  6. #6
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,748
    Plugin Contributions
    0

    Default Re: Payflow Pro (new Module) problem with card validation

    Very interesting, when I winmerged these files when updating the line for the MasterCard was not highlighted. I just checked it again and it didn't highlight it either......hmmm, better check my whitespace settings...Older versions (1.3.7.1 and earlier) used Master Card and 1.3.8 uses MasterCard


    Yup was a whitespace issue causing me to miss it.......
    Mike
    GeekHost - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

 

 

Similar Threads

  1. problem with godaddy hosting and payflow pro
    By kreynolds in forum Addon Payment Modules
    Replies: 9
    Last Post: 29 Jul 2010, 10:06 PM
  2. Problem with PayFlow Pro Module
    By dsdavis in forum Addon Payment Modules
    Replies: 1
    Last Post: 28 Jul 2008, 07:51 PM
  3. Payflow pro Module- Uk Debit Card issue with issue dates
    By Calljj in forum Addon Payment Modules
    Replies: 27
    Last Post: 1 Oct 2007, 08:59 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR