Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

detecting credit card types

Featured Replies

I'm not sure which forum this should be posted in, so if a mod could move this if necessary, I'd appreciate it.

 

I'm wondering if it is possible to have FMP detect what type of credit card is being entered just based on the card numbers? I have seen other systems able to detect what type of card was entered based on, I'm guessing, the amount of numbers entered and what order they're in. The same goes for routing numbers on bank accounts. I would want the institution/card type's logo to appear upon the information entered into the correct field, so a related record(s) containing all this information would need to be created.

 

Is this secure information? Is anyone aware of a resource that would help software developers implement such a system? I'm not even sure how to word a Google search to find the credit card information. I'm sure institutions like Wells Fargo provide routing number information once you log into their site. 

I could be incorrect, but I believe the card type is identified by the first group of numbers. Also, familiarize yourself with the Luhn formula which will identify numbers that can't be issued. It won't, however, tell you if an issuable number HAS been issued. Good first line of defense.

  • Author

Thank you, fellas. Good starting point.

Don't roll your own credit card system. Use stripe.com or something similar. My 2¢.

  • Author

Don't roll your own credit card system. Use stripe.com or something similar. My 2¢.

 

Fitch, not looking to create a credit card system. I'm just generally curious at how the computer can detect if the card is a visa/mastercard, etc.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.