#Shivam Kumar
1 messages · Page 1 of 1 (latest)
Hi there!
This is creating a Direct Charge. So technically you can do this with a custom account, but I would strongly recommend against this.
Beacause it's the connected account that would be responsible for refunds and disputes, but since it's a custom account, there's no available UI for them to manager this.
Hii I am working on a rental site for renter side I am using platform account and for landlord I am using stipe custom connected account , which account type best for landlord they can receive payment.
Custom accounts are the most complex type to handle. Usually we recommend Standard or Express. You can learn more about this here: https://stripe.com/docs/connect/accounts
$stripe->accounts->create([
'type' => 'custom',
'country' => 'US',
'email' => 'jenny.rosen@example.com',
'capabilities' => [
'card_payments' => ['requested' => true],
'transfers' => ['requested' => true],
],
]);
can we create express and standard account using this code?
The code you shared is to create a custom account: 'type' => 'custom'.
Can I use this same code in other than custom type?
I don't understand your question.
If you want to create Standard account: https://stripe.com/docs/connect/standard-accounts
If you want to create Express account: https://stripe.com/docs/connect/express-accounts
I want use same but I change 'type' => 'custom', to express this will works?
Please read the links I shared above, they explain how to create Standard and Express account, which is quite different than Custom accounts.
👋 taking over for my colleague. Let me know if there's any follow-up Qs I can answer!
$payment = $stripe->paymentIntents->create(
[
'amount' => $request->amount * 100,
'customer' => 'cus_O4df7NrSndPNIf',
'currency' => 'usd',
'payment_method' => 'pm_1NIUQJR24ZScjDb6mrgvSKtO',
'automatic_payment_methods' => ['enabled' => true],
],
['stripe_account' => 'acct_1NIUHrR24ZScjDb6']
);
why i getting this error
The PaymentMethod provided (us_bank_account) is not allowed for this PaymentIntent. Please attach a PaymentMethod of one of the following types: card. Alternatively, update the allowed payment_method_types for this PaymentIntent to include "us_bank_account".
would you mind sharing the request ID? https://support.stripe.com/questions/finding-the-id-for-an-api-request
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
req_KOdJufy1OWIXP0
taking a look
?
still looking
the us_bank_account payment method is not configured on the Connected Account
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
ACH is off by default
\Stripe\Transfer::create([
'amount' => 1000,
'currency' => 'usd',
'destination' => '{{PLATFORM_STRIPE_ACCOUNT_ID}}'
], [
'stripe_account' => '{{CONNECTED_STRIPE_ACCOUNT_ID}}',
]);
what is PLATFORM_STRIPE_ACCOUNT_ID is here?
your main account ID
$stripe->transfers->create(
[
'amount' => 1000,
'currency' => 'usd',
'destination' => '{{CONNECTED_ACCOUNT_ID}}',
'transfer_group' => '{ORDER10}',
],
['stripe_account' => '{{CONNECTED_ACCOUNT_ID}}']
);
and this code for transfer funds between two CONNECTED account?
Please help me , I am working on a rental site , I want to renter can make payment and landlrod can accept payment what I use I am confused.
How can customer make payment with in connected account.
not sure I follow
I am using this code but not works
$payment = $stripe->paymentIntents->create([
'amount' => 1000,
'currency' => 'usd',
'customer' => 'cus_O4ca9Xx4cqkzxV',
'payment_method' => 'pm_1NITPhR7SbLLaYoV4tB2hJ20',
'payment_method_types' => ['card', 'us_bank_account'],
'transfer_data' => ['destination' => 'acct_1NCe8xR7SbLLaYoV'],
]);
https://stripe.com/docs/connect/destination-charges
and i am following this docs
Yes
No such PaymentMethod: 'pm_1NITPhR7SbLLaYoV4tB2hJ20'; It's possible this PaymentMethod exists on one of your connected accounts, in which case you should retry this request on that connected account. Learn more at https://stripe.com/docs/connect/authentication
I am getting this error
Hi! I'm taking over from my colleague. Please, give me a moment to catch up.
Could you please share the Request ID req_xxx? https://support.stripe.com/questions/finding-the-id-for-an-api-request
req_ZkIH5SFgvg4tPA
That's a different Request from this
Are you using Stripe Connect?
It seems like you customer lives on the Connected Account, that's why you cant access it from the Platform
What kind of Connected accounts you have? Standard/Express/Custom?
custom
Then you need to create the Customers and Payment Methods on your Platform
req_embt0jjjYVuXaJ also check this why showing payment status Incomplete?
I aleady done this
Is this a separate question?
Did it help?
yes
You haven't provided a Payment method and also haven't confirmed the payment.
Ok I attech a payment method but I got error you can check this
req_yuewpuDe7oJUkE
You are doing a Direct Charge but you should be using Destination Charges instead on Connected accounts: https://stripe.com/docs/connect/destination-charges
$stripe->paymentIntents->create([
'amount' => 1000,
'currency' => 'usd',
'automatic_payment_methods' => ['enabled' => true],
'transfer_data' => [
'amount' => 877,
'destination' => '{{CONNECTED_ACCOUNT_ID}}',
],
]);
where I pass customer id and and their payment method id
You can pass it to the create() method parameters. But you need to make sure that PM and Customer objects live on the Platform.
In this case, the objects live on the Connected account so you can't use the same ones
what mean of objects live ?
Objects like Customers, PaymentIntents, Payment Methods etc. are created and used only on a specific Stripe account. So if one object was created on your Custom account, it can't be used on the Platform account, and vice versa