jessepollak / card

:credit_card: make your credit card form better in one line of code
MIT License
11.67k stars 1.47k forks source link

card.js in MVC5 Cshtml #388

Closed vinith351 closed 4 years ago

vinith351 commented 6 years ago

Card can't find a numberInput in your form. Card can't find a expiryInput in your form. Card can't find a cvcInput in your form. Card can't find a nameInput in your form.

I got these errors when i tried to implement credit payment. I followed the same steps as described. I was not able to degub the core issue. can you help me

atakanaydin commented 6 years ago

are the input names the same? Can you share your code please.

vinith351 commented 6 years ago
Try to write your name in the name fields. Also try to write your card number. This plugin identifies your card and shows the right graphics. By clicking CCV field card will turn.

Payment Information

atakanaydin commented 6 years ago

Your code is broken. Please try this and add your input names in js form tag.

`

`
vinith351 commented 6 years ago

I followed this site and the code is exact same as here.. https://codepen.io/hswd/pres/JYvgBW capture

vinith351 commented 6 years ago

I tried using jquery.card.js which is not giving me any exceptions but the issue is it not reading input values. Does the form input need to be changed if i use jquery.card.js?

vinith351 commented 6 years ago

Now i realized when i got latest code. Initially i got card.js from nuget pacakage which seems very different from the folder https://github.com/jessepollak/card/tree/master/dist. Now i am not getting any errors but issue is input form keypress is not recognized.

melloware commented 4 years ago

Please try latest version 2.5.0