[Answer]-Why isn't my form submitting?

1👍

The first argument you have to the token handling function is token. You can access the token ID in token.id then, not in response.id. You can see an example of this in the Stripe docs for a custom Checkout integration:

(I think there’s other code in the docs that use response as an argument, which may be where the confusion came from.)

Hope that helps,
Larry

PS I work at Stripe.

Leave a comment