stripe/elements-examples
Tentang
Contoh Stripe Elements.
Pembelajaran dan pendidikanPertumbuhan bintang terukur
- dalam 24 jam
- 0
- dalam 7 hari
- 0
- dalam 15 hari
- 0
- dalam 1 bulan
- +2
Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.
README.md
AsliStripe Elements examples
This repository contains examples of stylish forms that use Stripe Elements. These examples illustrate how to handle errors in real-time and style focus states, error states, and placeholders.
Need help with Elements?
- Get started with Stripe Elements by reading our quickstart guide.
- For help with Elements and your Stripe integration in general, please contact Stripe Support.
In this repo
Common code for handling errors and form submission lives here.
Example 1
Example 1 shows a form that uses the card Element, a custom web font, and a solid icon with a custom color.
Example 2
Example 2 shows a "floaty-label" form that uses individual cardNumber, cardExpiry, and cardCvc Elements with a custom web font.
The form also collects address (and thus postal code) outside of the payment form. It passes the postal code to Stripe on tokenization.
Example 3
Example 3 shows a form that uses individual cardNumber, cardExpiry, and cardCvc Elements with a custom web font.
The form also collects postal code outside of the payment form.
Example 4
Example 4 shows a form that uses the paymentRequestButton Element to provide
Apple Pay / Payment Request API support, as well as a card Element with a
custom web font.
Example 5
Example 5 shows a form that uses the paymentRequestButton Element to provide
Apple Pay / Payment Request API support, as well as a card Element with a
custom icon color.
Jelajahi proyek terkait
Memuat…