onFormSubmit
event handler:event.fields.cardField
is the raw data sent
by Stripe Elements upon validating the card element.
So if you need to create the charge on your server instead of using
stripe.confirmCardPayment
, you're free to do it as you'd do with a simple
Stripe integration.