#scp-connect-branding
1 messages · Page 1 of 1 (latest)
stripe_account = Stripe::Account.retrieve(@site.stripe_user_id, {stripe_account: @site.stripe_user_id})
stripe_primary_color = stripe_account.settings.branding.primary_color
scp-connect-branding
Stripe.api_key = live key or test key?
Live API key for this, it's PII
sorry what does PII mean?
personal identifiable information
got it. so brand colors is PII?
mostly just use your Live key when calling the Retrieve Account API
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.....