#n0ah9080
1 messages · Page 1 of 1 (latest)
To give you some more context;
I've made my own input fields for the card information and rather not use this preconfigured form because of the styling.
Nope, this is not possible/supported
Does that mean I HAVE TO use this form for filling in the credit card information?
or is there any way to customize it ?
You can style it, and there are other elements like the Payment Element
if you are PCI compliant though and want to use your own form fields you can reach out to support to provide that documentation and have that enabled for your account
but we don't recommend that, Elements is what we recommend
Okay, interesting!
Could you guide me in the right direction on how to style it? I would assume it's a little different from normal CSS styling because of the animations and such within the bar?
With the style option using the Style object for supported properties:
https://stripe.com/docs/js/elements_object/create_element?type=card#elements_create-options-style
https://stripe.com/docs/js/appendix/style
Ahh, thank you! 🥰