#sarita_21302

1 messages · Page 1 of 1 (latest)

cursive spireBOT
crystal stag
hard abyss
#

yes

crystal stag
#

OK, so what variable did you change?

hard abyss
#

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.

crystal stag
#

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.

hard abyss
#

till now, this is what I was using
const appearance = {
labels: "floating"
}

#

ok

#

Is there button specific property/variable or rules?

crystal stag
#

Which button are you talking about?

hard abyss
#

The 'Pay' button

#

here 'Donate '

crystal stag
#

This button is not part of Stripe PaymentElement, it's a button your developer added to the page.

hard abyss
#

Oh, yes. Thanks

hard abyss
#

is there any callback/function to check if the payment form is injected?

crystal stag
#

You mean when the PaymentElement is ready?