jessepollak / jessepollak/card
Card can't find a nameInput in your form
Nobody has claimed this yet.
- Dominant language
- SCSS
- Stars
- 11.7k
- Forks
- 1.5k
- PR merge metrics
- No merged PRs in 30d
Description
I am using jquery.card.js with wordpress. I have configured the checkout form fields correctly. I don't have a input with Card Holder Name in the payment form (It is not required in my case). I am getting this error "Card can't find a nameInput in your form" in jquery.card.js. Is it possible to use the js without the Name field.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in jquery.card.js and trace where the form fields are located and the missing nameInput error is produced. Confirm how initialization behaves when the payment form omits a cardholder-name field; done means that configuration works without this error while the other card fields continue to function.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, jquery, wordpress
- Domain
- frontend, payments
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100