#bio-Connect
1 messages · Page 1 of 1 (latest)
You will also need to clone the customer to your connected account
@short pumice
I added
$cloned = \Stripe\Customer::create([ 'email' => $brand->email, 'name' => $brand->name, 'payment_method' => $payment_method, ], [ 'stripe_account' => $creator->stripeAccountId(), ]);
And I use $cloned->id in PaymentIntent and it works! Thanks!
And just a small question: do I need to clone the customer every time I charge, or once for each connected account?
I believe only once, then you will have that customer ready "on" your Connect account for next time
Yeah, only once, otherwise the same users are created.
Is the cloned user considered the main customer? For example, if the main customer updates their default payment method, do I need to update the cloned one as well?