Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for JCB and Diners Club cards. #68

Merged
merged 1 commit into from Jan 16, 2014
Merged

Add support for JCB and Diners Club cards. #68

merged 1 commit into from Jan 16, 2014

Conversation

zachsnow
Copy link
Contributor

According to the documentation Balanced supports JCB and Diners, but they weren't recognized by balanced-js. I added support for their prefixes based on Wikipedia. Also added test card numbers found elsewhere online; these should be changed if there are specific numbers you support.

-Zach

According to the [documentation](https://support.balancedpayments.com/hc/en-us/articles/200319895-Does-Balanced-accept-JCB-and-Diners-Club-cards) Balanced supports JCB and Diners, but they weren't recognized by balanced-js. Added using
test card numbers found elsewhere online; these should be changed if there are specific numbers
you support.
@matthewfl
Copy link
Contributor

this looks good to me, but are you using rev1 of the api?

@zachsnow
Copy link
Contributor Author

I pulled the branch off of rev1, if that is what you are asking?

matthewfl added a commit that referenced this pull request Jan 16, 2014
Add support for JCB and Diners Club cards.
@matthewfl matthewfl merged commit 2e4140c into balanced:rev1 Jan 16, 2014
@zachsnow
Copy link
Contributor Author

Thanks from fareharbor.com!

@mjallday
Copy link
Contributor

@matthewfl do you have the power to bump the version and deploy?

@zachsnow shoot us an email to support@balancedpayments.com if you'd like some swag for helping us improve the library.

@matthewfl
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants