#sarita_21302
1 messages · Page 1 of 1 (latest)
Hi there, are you using appearance API to customize your page? https://stripe.com/docs/elements/appearance-api
yes
OK, so what variable did you change?
No variables. I' was using sample code which had checkout.css but the button style in there affecting other button style so I wanted to change it now.
So you are not using appearance API ?
I'd suggest considering using appearance API to customize the Stripe Elements, and it won't affect the CSS of the rest of your own UI.
till now, this is what I was using
const appearance = {
labels: "floating"
}
ok
Is there button specific property/variable or rules?
Which button are you talking about?
This button is not part of Stripe PaymentElement, it's a button your developer added to the page.
Oh, yes. Thanks
is there any callback/function to check if the payment form is injected?
You mean when the PaymentElement is ready?