card-io.github.io | card.io website - card | Web Site library
kandi X-RAY | card-io.github.io Summary
kandi X-RAY | card-io.github.io Summary
card.io website
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of card-io.github.io
card-io.github.io Key Features
card-io.github.io Examples and Code Snippets
Community Discussions
Trending Discussions on card-io.github.io
QUESTION
I am using Stripe.js Elements for : cardNumber
cardExpiry
cardCVC
I want to use in conjunction a module to scan a credit card called card.io.
Actually everything work fine and when i scan a card with card.io i end up with 2 values : the card number, the expiry date.
From there, I want to set those value into my stripe elements, is there a way to do so ? I was unable to find anything in the documentation
My HTML :
...ANSWER
Answered 2021-Feb-12 at 12:39You can not do that(prefill them with a raw card number) using Elements, no. If you have the raw card number than you are in PCI scope since you are directly touching highly sensitive details. https://stripe.com/docs/security/guide#validating-pci-compliance
I'd recommend relying on the browser's native card scanning(Chrome on Android has a "Scan new card" functionality that works with Elements for example) and just have the user enter their card details into Elements normally.
Card.io is unmaintained as far as I know, and also I'm confused because it's a native library, you can't really use it in a web page anyway? If you're building a native app, Stripe's iOS library has a card scanning beta that might help https://github.com/stripe/stripe-ios#card-scanning-beta
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install card-io.github.io
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page