Closed iarjunphp closed 4 years ago
@KonstantinKolodnitsky you used the CardNumberElement
but are doing getElement('card')
. You need to replace that with getElement('cardNumber')
.
@KonstantinKolodnitsky you used the
CardNumberElement
but are doinggetElement('card')
. You need to replace that withgetElement('cardNumber')
.
Thank you, mate.
May I please reopen the issue because it just happened to me and I don't know how to solve it. I'm using the latest version of the library(6.1.2). I cannot switch to the new library yet because we are using React 15.x.
Here is the code(truncated/modified for simplicity)
The page
and the form
Thank you