Skip to content

Conversation

@raushan-skyflow
Copy link

@raushan-skyflow raushan-skyflow commented Jul 16, 2025

Why

  • BIN lookup was failing when the card number was formatted with hyphens (e.g., 4111-1111-1111-1111) in the CardNumberElement.

Outcome:

  • Updated the logic to handle both space-separated and hyphen-separated card number formats consistently.
  • BIN lookup now works seamlessly with both space (4111 1111 1111 1111) and hyphen (4111-1111-1111-1111) formats in the CardNumberElement.

Testing:

  • Locally
  • Added unit test

@raushan-skyflow raushan-skyflow merged commit 40c7b7d into release/25.6.1 Jul 17, 2025
2 checks passed
saileshwar-skyflow added a commit that referenced this pull request Dec 23, 2025
* SK-2126 insert unformatted card number to vault (#107)

* SK-2173 support input formatting in reveal elements (#110)

* SK-2173 fix card number regex (#111)

* SK-2173 revert unformatted card no insertion to vault (#112)

* SK-2167 fix critical vulnerabilities (#113)

* SK-2050: set tokens in reveal elements
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants