Comments (16)
Try changing your input type for the Expiry toinput type="tel"
instead of input type="text"
from card.
I did it, but the error keeps the same.
from card.
are you using the latest version of card 2.5.1 from the /dist folder here?
from card.
Yes, I am, also the JQuery version is 3.5.1 not slim.
Can't it be a compatibility error?
from card.
Jquery does not matter as this lib does not use Jquery.
from card.
Well, actually I'm using the dist/jquery.card.js
JQuery version (This)
from card.
Ha that is NOT this library. Its an ancient version of this library before they removed Jquery as a requirement.
from card.
Closing as invalid since that library is not this one. Please upgrade to this library and set make sure to use the latest 2.5.1 version from this DIST folder.
from card.
I was following the readme JQuery Session
from card.
OK your link to "If you want to try it" is broken it goes no where?
from card.
Sorry, I forgot to add the https://
, I've edited it and now it's working. The card code starts at line 31.
And I also changed the JQuery version to the normal version, and got the same results:
- No console errors
- Everything working but the expiry on mobile
New code:
var card = new Card({
form: "#payment",
container: ".card-wrapper",
formSelectors: {
numberInput: "#card-number",
expiryInput: "#card-expiry",
cvcInput: "#card-cvv",
nameInput: "#card-name",
},
width: $(".card-wrapper").width(),
placeholders: {
number: "•••• •••• •••• ••••",
name: "Name",
expiry: "••/••",
cvc: "•••",
},
});
from card.
I am not seeing anything on that page for Credit Card?
from card.
Sorry,
Actually you need to login first, please try this:
Email: [email protected]
Password: password
To login: click on Acessar
(access) at the navbar right, then type your E-mail
and Senha
(password) and submit with Login
.
Then you can click on the previous link
from card.
Thanks I just tested with my Desktop and my iPhone 8 and both are working fine.
from card.
I tested in another device and it worked perfectly. Probably it was the cache or something.
I'm sorry for extending this thread.
Thank you!
from card.
no prob
from card.
Related Issues (20)
- How to remove the input whitespaces when entering a card number? HOT 2
- Demo 404s HOT 3
- This project is being used in suspicious site HOT 2
- Mastercard Not recognized HOT 5
- Card Number Can't Be Blur In IOS When Input Card Numbers HOT 10
- Credit Card with RTL the float:right makes a problem HOT 1
- Cannot read properties of undefined (reading 'replace') HOT 6
- Card Info storage to database. HOT 1
- how to flip card from js code HOT 7
- Show card without inputs HOT 3
- Add CSS variable support for card colors HOT 3
- Card credit
- Demo link is broken in the readme file HOT 2
- npm install errors HOT 10
- Credit Card Expiration Date Format Not Accepted Error HOT 13
- How to get the card type (visa, mastercard, etc.) so I can pass that info to payment gateway HOT 3
- It does not work HOT 2
- not sure if this is still relevant but for people with the same question: you can use the bin of the card to decode if it's type, the bin is the bank identification number of each card and it identifies a card down to the bank which issued it, with a BIN API like the one from binlist.io you are easily able to check which card goes with which card type. HOT 1
- pleasss.. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from card.