#Neetu
1 messages ยท Page 1 of 1 (latest)
Hi ๐ can you elaborate on the trouble you're running into?
Laravel Cashier, or just the Laravel framework?
Laravel cashier
but for stripe connect using stripe PHP sdk
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
now using above api
try to create Payout
No such external account: 'ba_1MYoDRPEgrmSC6QLGeER0fyC'
Can you share the ID of the request (req_123) that returned the error you referenced?
To clarify, I'm looking for the ID of the request that returned that error, you can use the approaches discussed here to find that ID if you not already have it on hand:
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.
My suspicion is that you're referencing an External Account that belongs to an account other than the one that you're making the request for, but having the ID of the request would allow me to take a closer look at what it was trying to do.
req_V36zdfPTkeXNgx
Thank you, pulling that up.
I am on sandbox
The External Account that you're referencing in that request belongs to an account other than the one making the request, so the request fails because that object isn't accessible from another account.
It looks like the request is being made from your Platform account, but is trying to reference objects belonging to your Connected Account. When making a request for one of your Connected Accounts, you need to include that account's ID in the stripe_account parameter:
https://stripe.com/docs/api/connected_accounts
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Okay
$stripe->payouts->create([
"destination" =>"ba_1MbOlxPFopMitDcaZYbLdC0w",
"description" =>"Payout till date 14th of February 2023",
"statement_descriptor"=>"InstaWP Payout",
"amount"=>"3764",
"currency"=> "usd"
])
I am using like this
please guide me
You need to also include the stripe_account parameter as shown in the code snippet of my previous link. So you would add another array to your request to include that parameter, like this:
$stripe->payouts->create([
"destination" =>"ba_1MbOlxPFopMitDcaZYbLdC0w",
"description" =>"Payout till date 14th of February 2023",
"statement_descriptor"=>"InstaWP Payout",
"amount"=>"3764",
"currency"=> "usd"
],
['stripe_account' => [CONNECTED_ACCOUNT_ID])
You have insufficient funds in your Stripe account for this transfer.
how I can add funds'
?
Since it sounds like your flow is using Transfers, those would be the way to add funds to your Connected Accounts.
ok
If you're processing test payments to fund your Platform account's balance for those Transfers, then you may need to use the test cards listed here:
https://stripe.com/docs/testing#available-balance
These test cards skip the part of the payment process where funds go into your pending balance and instead the funds from them become available immediately.
this balance is related to my seller account or my account
Both account's have balances, those test cards specifically refer to the account where the payments are being processed. If you're using Transfers to move funds to your Connected Accounts, then I believe you're going to be processing payments on your Platform.
yes