This project is deprecated and is no longer being actively maintained.
Please see the Accept a payment sample.
Accepting a card payment
Cards are one of the most popular ways to pay online. Stripe offers several ways to accept card payments, depending on your business needs.
If you accept cards in regions like Europe and India, you will need to handle requests from banks to authenticate a purchase (commonly known as 3DS or OTP) and can choose between our using-webhooks and without-webhooks integrations.
If you only accept cards from U.S. and Canadian customers, you can use our integration that declines any bank requests for authentication but is much easier to integrate.
Read more about cards on Stripe in our docs.
Demo
Web: See a hosted version of the sample or fork a copy on codesandbox.io
Mobile: Run the sample locally