diff --git a/src/assets/images/laser.png b/src/assets/images/laser.png new file mode 100644 index 0000000..9fbe109 Binary files /dev/null and b/src/assets/images/laser.png differ diff --git a/src/components/VuePaycard.vue b/src/components/VuePaycard.vue index bb2772f..cd1c7e9 100644 --- a/src/components/VuePaycard.vue +++ b/src/components/VuePaycard.vue @@ -246,7 +246,8 @@ export default { if (number.match(/^9792/)) return 'troy' if (number.match(/^3(0[0-5]|[68]\d)\d{11,16}/)) return 'dinersclub' if (number.match(/^35(2[89]|[3-8])/)) return 'jcb' - if (number.match(/^(?:5[06789]\d\d|(?!6011[0234])(?!60117[4789])(?!60118[6789])(?!60119)(?!64[456789])(?!65)6\d{3})\d{8,15}$/)) return 'maestro' + if (number.match(/^(6304|6706|6709|6771)[0-9]{12,15}$/)) return 'laser' + if (number.match(/(?:5[0678]\d\d|6304|6390|67\d\d)\d{8,15}$/)) return 'maestro' if (number.match(/^1\d{14}$/)) return 'uatp' return ''