#perf-paymentsheet-color

1 messages · Page 1 of 1 (latest)

violet wolf
#

Hello, can you share a bit more details about the overall integration?

desert adder
#

using react-native sdk

"@stripe/stripe-react-native": "^0.13.1",

I understand there is an appearance field for the initPaymentSheet method provide within the sdk.

I am wondering if there is a field I am missing or something with my integration that determines the color of that button when submitting.

desert adder
#

yes currently

primaryButton: {
          colors: {
            light: {
              background: "#000000",
            },
            dark: {
              background: "#000000",
            }
          },
          shapes: {
            borderRadius: 20,
          },
        },
violet wolf
#

Can you share your exact code?

desert adder
violet wolf
#

ah so it's after you configured, when it specifically succeeds?

desert adder
#

yea

#

After pressing the "Set up" button it "success" state is green

violet wolf
#

gotcha, I don't think that can be configured, but double checking

#

yeah we don't support that, it'd be be a feature request