#scp-connect-branding

1 messages · Page 1 of 1 (latest)

forest gyroBOT
kind spoke
#

stripe_account = Stripe::Account.retrieve(@site.stripe_user_id, {stripe_account: @site.stripe_user_id})
stripe_primary_color = stripe_account.settings.branding.primary_color

gloomy urchin
#

scp-connect-branding

kind spoke
#

Stripe.api_key = live key or test key?

gloomy urchin
#

Live API key for this, it's PII

kind spoke
#

sorry what does PII mean?

gloomy urchin
#

personal identifiable information

kind spoke
#

got it. so brand colors is PII?

gloomy urchin
#

mostly just use your Live key when calling the Retrieve Account API

kind spoke
#

and logo?

#

oh go it! OK!

#

issue is if someone sets their "testmode" Customer Portal coloring different from livemode

#

it seems like you may be forcing a save of testmode stuff to livemode in a different way then you do with other objects where you have to click "Copy to livemode" to copy to livemode and, in general a price you make in livemode is not automatically generated in testmode, but your brand colors seem to be saved in testmode if you set them in livemode. I was just confused.

#

ok thank you.....