#sai_rez - Console Error
1 messages · Page 1 of 1 (latest)
They get it when updating their card details in our flow
And are you applying any styling to the payment element in your flow?
Some people attempt to style the elements using CSS but we also expose an Appearance API to facilitate styling for our users:
https://stripe.com/docs/stripe-js/appearance-api
So this error shows up when your site renders the Payment Element? Or are you using the Card element?
We're using
<CardNumberElement
placeholder={'Card number'}
options={{ style }}
onFocus={this.setCardNumberFocused(true)}
onBlur={this.setCardNumberFocused(false)}
onChange={this.handleCardNumberChange}
data-test-locator="CardDetails-CardNumber"
/>
So i guess you are referring to the style object we're passing as options?
I am curious if that is involved
But also you are using legacy card elements to that is good to know as well
Do you know what kind of issues that would cause?
Could it block stripe from loading or block SCA?
I don't think so but these are pretty old front-end interfaces. Unless it's a big lift I would recommend using the Payment Element
https://stripe.com/docs/payments/payment-element
Ok thanks for your help, I'll look to update our elements