feat(credit): rupay credit card validation - #2830
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #2830 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 114 114
Lines 2600 2600
Branches 659 659
=========================================
Hits 2600 2600 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
tux-tn
left a comment
There was a problem hiding this comment.
The shared link does not provide sufficient details about the valid BIN ranges for RuPay. According to third-party BIN databases such as BINTable’s RuPay list, the current regex appears to omit several listed BINs and ranges, including 502801, the 606100-606984 interval, 607985-607999, 608000, 608501-608999, 627387, and 695047.
Could you please clarify the supported RuPay BIN ranges using an authoritative source? Alternatively, please update the regex and tests to include the missing BINs that are within the intended scope.
Add validation for RuPay credit card
https://www.npci.org.in/product/rupay/card-variants
Addresses issue #2829
Checklist