#dooms
1 messages · Page 1 of 1 (latest)
Hi 👋 that isn't enabled by default for Custom accounts, you have to turn that on via the Stripe dashboard here:
https://dashboard.stripe.com/test/settings/connect/custom
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
oh thx , i try to migrate from express to custom but some things are still unclear for me
Any time, happy to help!
hello can i ask you some other things there or i ask in the help channel ?
You can ask here
ok thx , my client have to pay for a service from another user , for this payment intent do i have to create a customer for my client , or can i use his account (custom) ?
Yes, you will want to use a Customer object for that. You won't be able to directly charge the Connected Account.
ok it is a customer of my plateform or of my user provider ?
Since you're working with Custom Connected Accounts, does that mean you're working with Destination Charges?
$paymentIntent = $stripe->paymentIntents->create([
'amount' => intval(2000 * 100),
'application_fee_amount' => intval(2000 * 0,30) * 10,
'currency' => 'EUR',
'payment_method_types' => ['card'],
'confirm' => true,
'customer' => $customerAccount,
'on_behalf_of' => $providerStripeAccount,
'description' => "**************",
'transfer_data' => [
'destination' => $providerStripeAccount
],
'metadata' => [
],
'off_session' => true,
'mandate_data' => [
'customer_acceptance' => [
'type' => 'offline' ]
]
]);
something like that , but maybe there is a better method ?
Alright, so that does look like a Destination Charge (as opposed to a Direct Charge). With Destination Charges, the payment happens on the Platform account and all associated objects need to reside there, so the Customer will need to exist on your Platform account.
ok thx so much i understand now
Any time, happy to help!