Skip to content

Instantly share code, notes, and snippets.

@cbetta
Last active September 4, 2015 16:46
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cbetta/800a425505407de9342b to your computer and use it in GitHub Desktop.
Save cbetta/800a425505407de9342b to your computer and use it in GitHub Desktop.
Braintree Hosted Fields - Card Type detection
Braintree Hosted Fields - Card Type detection
----------------------------------------------
In this demo I tried to recreate the Braintree v.zero dropin experience of auto matically detecting the credit card type using the Hosted Field SDK.
A [Pen](http://codepen.io/cbetta/pen/XbEpGx) by [Cristiano Betta](http://codepen.io/cbetta) on [CodePen](http://codepen.io/).
[License](http://codepen.io/cbetta/pen/XbEpGx/license).
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment