Chococoin / payment-form-modal

How to implement Stripe Elements within a modal dialog.

Home Page:https://stripe.com/docs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Stripe Elements modal demo

This sample shows how to implement Stripe Elements within a modal dialog using the following APIs.

Demo

See a hosted version of the sample in test mode or fork on codesandbox.io

The hosted demo is running in test mode -- use 4242424242424242 as a test card number with any CVC + future expiration date.

Use the 4000000000003220 test card number to trigger a 3D Secure challenge flow.

Read more about test cards on Stripe at https://stripe.com/docs/testing.

Payment success

Elements modal

Payment declined

Elements modal payment declined

Author

@ctrudeau-stripe

About

How to implement Stripe Elements within a modal dialog.

https://stripe.com/docs

License:MIT License


Languages

Language:JavaScript 57.2%Language:CSS 14.8%Language:PHP 7.2%Language:Java 6.5%Language:Python 5.3%Language:Ruby 4.7%Language:HTML 4.2%Language:Shell 0.1%