Skip to content
Advertisement

Tag: stripe-payments

How should I pass `cardNumberElement`, `cardExpiryElement` and `cardCvcElement` into `stripe.confirmCardPayment`’s `payment_method.card`?

In stripe docs, I can easily create a card like this And I simpliy pass the cardElement to confirmCardPayment However, for visual style css reason, I have to split cardElement in to three pieces like this: Then I want to call stripe.confirmCardPayment, what should I do right now? The doc only shows cardElement method, no splitted example. Answer You can

Advertisement