braintree / credit-card-type

A library for determining credit card type

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Adding Aura

Daniel4Digital opened this issue · comments

Would be great to add Aura.

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

best regards

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.

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,
},
});