jondavidjohn / payform

:credit_card: A library for building credit card forms, validating inputs, and formatting numbers.
https://jondavidjohn.github.io/payform/
Other
427 stars 81 forks source link

Add documentation for credit and debit card IIN patterns #47

Closed ddayguerrero closed 5 years ago

ddayguerrero commented 5 years ago

Changes

Suggestions

While we could have an external markdown file, I believe it would be better to create a GitHub wiki as users may miss this interesting piece of documentation! 😎

OR

We can replace current Supported card types: section in the README.md

Let me know what you think!

cc @jondavidjohn

Sneak peek

cardrules

jondavidjohn commented 5 years ago

@ddayguerrero Thanks for doing all this legwork, I'm fine with a wiki, that way we can add references w/o cutting new versions as they come up. I've enabled the wiki for this repo. Let me know if you need anything else to get this content in there. Might be worth linking to from the README though.

ddayguerrero commented 5 years ago

My pleasure! πŸ˜„ I'm fine with adding both. We can add this piece of documentation to the Wiki and also link it in the README.

I recently amended my commit to fix typos and all card types are present. I also submitted another fix that improves deletion of the credit card string!

ddayguerrero commented 5 years ago

It looks better with those tricks! Thanks!