#armin-connect-customers
1 messages · Page 1 of 1 (latest)
Hi 👋 can you clarify what you're referring to when you say "user account" is this different from the Connected Account that you created?
User Account I am referring to users Stripe account that is used to connect to my platform, if you follow the link is the 2 User creates or connects their account
Yes, that step creates the Connected Account.
Do you have IDs of objects that I can look at to better understand your concern?
what do you mean by the ids of the object.. ids of the connected accounts like this acct_1LGNqYBOCtjnwp82
or do you want the id of the platform?
When I make a payment Intent to a Customer with the card id that I have added before this goes well but the all of this data is not visible in the User's Stripe account but rather in my Platform Stripe account
how can I make it visible in both stripe accounts
I am using php - laravel to build this: below you have sample of code that I'm using:
$stripe->paymentIntents->create([
'amount' => 2222000,
'currency' => 'usd',
'payment_method_types' => ['card'],
'confirm' => true,
'description' => 'TSDS :: INV-100486',
'confirmation_method' => 'manual',
'payment_method' => $payment_method->id,
'customer' => $customer->id,
], ['stripe_account' => 'acct_1LGJ0CE1GLMd3cfO']);
Oh, okay, so you're saying when you create the Customer it's being crated on your Platform Account instead of your Connected Account? There is not a way to create a Customer that exists on both accounts, objects in the Stripe ecosystem can only reside on one account.
Okay.. how can i do only in Connected Account?
By passing the stripe_account variable as you are in the snippet that you provided. You'll need to do this when creating the Customer object.
Oh really can you provide docs for this part
Here is a snippet that I use to create the user:
$stripe = new \Stripe\StripeClient(env('stripe_api_key'));
$customer = $stripe->customers->create([
'description' => 'START',
'email' => 'ssssssss@exassmple.asssxedu',
'metadata' => ['created_from' => 'IPAYMER'],
], ['stripe_account' => $response->stripe_user_id]);
I can find this Customer here
In the connect tab of my Business account but nothing in the Stripe account that I connected to
That request structure will create the Customer object on the Connected Account. What you're showing in your screenshot is not Customer information, that page lists your Connected Accounts.
If you click on the Connected Account listed there, and use the overflow menu to access the View Dashboard as this account option, then you should see the Customer object once in the Connected Account.
Thanks a lot this is what I was looking for.
Happy to help!