#ajayvibeosys-Connect

1 messages · Page 1 of 1 (latest)

craggy pawn
#

Which flow are you following? Direct Charge?

#

I suppose you are using the StripeAccount header

#

Then your Connected Account is actually the one charging your customer, hence Stripe will use the Connected Account setting for logo/color

tidal kite
#

yes using above one

#

but that new connect account login I cant find that setting to update

so any chance I can dynamically set from api?

craggy pawn
#

What type of Connect Account is that? Express/Standard/Custom?

tidal kite
#

standard

#

my code is
$session = $stripe->checkout->sessions->create([
'success_url' => url('/').'/payment/success,
'cancel_url' => url('/').'/payment/cancel',
'customer_email' => $customerEmail,
'line_items' => [[
'price_data' => [
'currency' => 'usd',
'unit_amount' => $amount*100,
'product_data' => [
'name' => 'test',
'description' => 'test'
],
],
'quantity' => 1,
]],
'payment_intent_data' => [
'application_fee_amount' => 2000,
],
'mode' => 'payment',
], ['stripe_account' => 'acc_xxxxx']);

craggy pawn
#

Yeah I see. It looks correct

tidal kite
#

when it redirects the background is white by default

craggy pawn
#

Because that's the Connected Account's default setting, isn't it?

tidal kite
#

yes

#

but still I want update color

stable comet
#

I don't think you can change the background of Checkout(just checking something but pretty sure it's not supported today)

#

yeah, you can't.

tidal kite
stable comet
#

it. really depends on the answer to the questions orakaro asked you

stable comet
#

based on the code you are using Direct Charges

#

which means you need to log into the connected account and change the branding there if you want, since they are the merchant and they control their branding