Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add new credit card component

See original GitHub issue

Issue Description


We want to create a new credit card component to add your card information, as seen on


  • Show all credit card icons (can share exports of these) - #668
  • Fields for card number, MM/YY, CVC - #668
  • Link to terms of use - #668
  • Generate stripe token for card when pressing donate - #668
  • Pressing donate takes Stripe token and POSTs to server to create subscription - #668
  • Pressing donate button shows loading state; changes on error or success - #668
  • Create credit card for user when submitted. List created cards if any. - #668

Moved to #669

  • Uses ember-stripe-service to generate client-side errors per input field
  • Shows server-side errors on input fields, where appropriate
  • Use existing code from another project we’ve done for some of the fields
  • Highlight inputs in red when they have errors
  • Add error information below each input when errors are present
  • optional Credit card highlights as the correct one when entered

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

joshsmithcommented, Oct 24, 2016

@sbatson5 I would like to use ember-changeset with ember-changeset-validations. Think there’s an issue regarding bringing those in. #609

sbatson5commented, Oct 20, 2016

Also, what are we using for input validations on this repo?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Card Component | Adyen Docs
Card Component. Add card payments to an existing Components integration. On this page, you can find additional configuration for adding cards to your...
Read more >
Add Credit Card - Dribbble
Discover 13 Add Credit Card designs on Dribbble. Your resource to discover and connect with designers worldwide.
Read more >
react-credit-cards - npm
A slick credit card component for React. Demo. Install. npm install --save react-credit-cards ...
Read more >
A modern credit card component for React
A modern credit card component for React. This React component will help you building your checkout on your e-commerce.
Read more >
Practical React - 9 - Credit Cards - YouTube
... + Facebook - Business - Credit Card component in React ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found