Giter Site home page Giter Site logo

Comments (5)

mattgi avatar mattgi commented on July 20, 2024

depending on your desire around dependencies, an alternative option may be to switch to using Stripe's validation methods as per a fork @ thisopenspace@1f86e88.
Relying on a team rather than an individual for credit card validation may be worthwhile.

from card-react.

shatran avatar shatran commented on July 20, 2024

Hi @mattgi Iv'e just published a version with payment 2.1.6 can you please let me know if this issue is now fixed? thanks.

from card-react.

mattgi avatar mattgi commented on July 20, 2024

Hey @shatran,

Bizarrely, no:

card[number]=400005665566555&card[cvc]=123&card[exp_month]=12&card[exp_year]=2021

Still missing last digit (i.e. 6) when submitting the data (to Stripe in my instance).

from card-react.

mattgi avatar mattgi commented on July 20, 2024

we tracked it down to the introduction of > 16 digit VISA cards not triggering onChange events when the 16th character is entered.. (adds a space, and prevent the change event from firing)...

As such, the issue is limited to VISAs.. but it does affect every 16 digit VISA card until jessepollak/payment#56 is addressed.

from card-react.

stanleycyang avatar stanleycyang commented on July 20, 2024

I am seeing this as well. You can change formatting={ false } to deal with it, however you lose the perks of the card animation

from card-react.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.