[BUG]: Missing {card: { network: string[]; }; } is not assignable to type DefaultValuesOption #627
Closed
1 task done
Labels
bug
Something isn't working
What happened?
Version: @stripe/stripe-js 4.1.0
Others: @stripe/react-stripe-js 2.7.3
We are urged to implement a card-selector for the dual cartes_bancaires - visa/mastercard option in France.
I am following the docs to do so but am running into a typing error when trying to set the default value for one of these cards in the options for the stripe payment element.
Related documentation:
https://docs.stripe.com/js/elements_object/create_payment_element#payment_element_create-options-defaultValues-card
Environment
No response
Reproduction
No response
Tasks
The text was updated successfully, but these errors were encountered: