braintree / credit-card-type

A library for determining credit card type
MIT License
980 stars 154 forks source link

Adding Aura #109

Closed Daniel4Digital closed 4 years ago

Daniel4Digital commented 4 years ago

Would be great to add Aura.

You can see here the bin and all other infos: https://gist.github.com/erikhenrique/5931368

best regards

crookedneighbor commented 4 years ago

Please provide official documentation for Aura. This has been requested in the past, but we had to deny the request because there was no official documentation for the Aura card range available.

crookedneighbor commented 4 years ago

FYI, you can add custom card types. See: https://github.com/braintree/credit-card-type#adding-card-types

Daniel4Digital commented 4 years ago

Can't find official documentation. Only the url I provided above.

This is what I will use to add Aura. I'm removing maestro too since I beleive maestro for creditCard is deprecated.

Vue.prototype.$creditCardType.removeCard(Vue.prototype.$creditCardType.types.MAESTRO); Vue.prototype.$creditCardType.addCard({ niceType: "Aura", type: "aura", patterns: [50], gaps: [4, 8, 12], lengths: [16], code: { name: "CVV", size: 3, }, });