Legacy Elements
Card Element
Separate card number, expiry, and CVC fields you lay out like the rest of your form, confirmed with confirmCardPayment.
- Elements
- CardNumberElement
- CardExpiryElement
- CardCvcElement
The Payment Element replaces the split card fields for new integrations. It adds wallets and local payment methods without code changes.
Test data
- 4242 4242 4242 4242Succeeds · Any future date and any CVC
- 4000 0025 0000 3155Requires 3D Secure · Complete or fail the test authentication
- 4000 0000 0000 9995Declined · Fails with insufficient funds
Interact with the demo to see element events here.