#shivam_kumar

1 messages · Page 1 of 1 (latest)

warm agateBOT
umbral dagger
#

Hi there!

#

I think it should be like this:

$stripe_connected_customer = $stripe->customers->create(
    [
        'name' => auth()->user()->full_name,
        'email' => auth()->user()->email,
        'source' => $stripe_connected_token
    ],
    [
        'stripe_account' => $booking->stripe_connected_account_id
    ]
);
#

Note that source is a very old API that we no longer recommend using.

hasty tiger
#

Then what I Use for clone a customer ?