PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Invalid Credit Card Number validation false positive, help please!

  1. For some reason the credit card number validation is throwing a false-positive. I've tested two different cards and they both return "Invalid credit card number." error. The fields all end up empty and I have to re-enter. Here's where the form is: https://wmcfest.com/sponsor-us/

    It isn't leaving the server as far as I can tell because there's no sign of it in the Stripe logs. There are no php errors logged either. So it seems like a js/ajax validation error. Not sure where next to look for troubleshooting. We have the latest Gravity version, although Stripe plugin may be outdated if there's not an alert in WP.

    Thanks for any insight.

    Posted 11 years ago on Wednesday May 15, 2013 | Permalink
  2. Update, I've tested it with and without Steps splitting up the form and still get the "Invalid credit card number" regardless of real or test CCs. I don't see an ajax/xhr call so it seem to be using a basic post to php but there aren't errors in the php. I've tested it with the preview (non theme) view as well and it still throws the invalid CC error. I've also tested it with and without HTML5 enabled and noconflict mode but it always throws the false positive. Is this supposed to be using an ajax form? Maybe the js didn't update when the plugin did? I don't think it is Stripe plugin related because it doesn't seem to leave the form prevalidation but for good measure I'll switch to a different gateway plugin and see if that makes a difference.

    Posted 11 years ago on Thursday May 16, 2013 | Permalink
  3. David Peralty

    Stripe is a third party add-on and as such, you'll have to contact the author for support. http://wordpress.org/extend/plugins/gravity-forms-stripe/

    Posted 11 years ago on Thursday May 16, 2013 | Permalink
  4. Okay, I stand corrected. It DOES seems to be the Stripe plugin that is the culprit! I switched to Authorize and it works now. Let me know if there's anything we can do to help you improve the Stripe plugin. Thanks.

    Posted 11 years ago on Thursday May 16, 2013 | Permalink
  5. Ah, I didn't realize that wasn't even your plugin David, thank you. We'll let them know.

    Posted 11 years ago on Thursday May 16, 2013 | Permalink
  6. David Peralty

    No problem. All my best!

    Posted 11 years ago on Thursday May 16, 2013 | Permalink
  7. Naomi
    Member

    I'll check in with Wilson -- the latest version of the Stripe Add-On is in use successfully on many sites with the latest version of Gravity Forms so it sounds like something localized to his site or form

    Posted 11 years ago on Thursday May 16, 2013 | Permalink