You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, firstly thank you for this nice credit card form.
My issue is when I chose a saved credit card (on browser) the value that get submitted is formatted "xxxx xxxx xxxx xxxx" so it generate error (I tried to remove the space (reformat) using a jquery with multiple methods without touching card.js but the last value of the card number is always formatted), so when I turn off formatting "formatting: false", the card doesn't detect the card type (visa..)
I hope you get what I mean ^^
The text was updated successfully, but these errors were encountered:
Have the same issue with the "xxxx xxxx xxxx xxxx" format on the form that I needed to submit to the payment processor. I found a, maybe not as fancy nor elegant, workaround for that. What I did is place hidden field on the form, and before submit put the value with correct format from the input for card to the hidden field. It worked.
Hi, firstly thank you for this nice credit card form.
My issue is when I chose a saved credit card (on browser) the value that get submitted is formatted "xxxx xxxx xxxx xxxx" so it generate error (I tried to remove the space (reformat) using a jquery with multiple methods without touching card.js but the last value of the card number is always formatted), so when I turn off formatting "formatting: false", the card doesn't detect the card type (visa..)
I hope you get what I mean ^^
The text was updated successfully, but these errors were encountered: