#devzee_api
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1374104107912265858
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hello there
Are you testing using the Available balance test cards: https://docs.stripe.com/testing#available-balance ?
I have already tested in the sandbox mode. All the payments were successful. The problem I am facing in the live.
Ah well have you checked your avialable balance in live mode?
You would have to wait the necessary time for your funds to settle and be avaliable, as indicated by: https://docs.stripe.com/payouts#payout-speed
I have not tested the available balance on live yet. I am going to test it soon.
However, my understanding was, in the separate charges and transfer, the money can be transferred to connected account immediately. So the transfer and payouts has separate context. Transfer means the transferring the money from the platform account to service provider's account. And payout is when the service provider can transfer their money from their stripe account to their bank account, for example.
You can Transfer the funds immediately if you use source_transaction, yes: https://docs.stripe.com/connect/separate-charges-and-transfers?platform=react-native#transfer-options
Then the funds will be in the Connected Account until they become available.
I see. I did not use the source_transaction. This is how I was transferring the money:
\Stripe\Transfer::create([
'amount' => $influencerAmountCents, // in cents
'currency' => 'eur',
'destination' => $influencerStripeAccountId,
'transfer_group' => $orderId,
]);
So I have to save the chargeId after the payment (by the customer) and then will use the chargeId to transfer the money to service provider?
Yep
Something like this:
\Stripe\Transfer::create([
'amount' => $influencerAmountCents, // in cents
'currency' => 'eur',
'destination' => $influencerStripeAccountId,
'transfer_group' => $orderId,
'source_transaction' => $chargeId,
]);
Yep looks good to me
Thanks a lot for your help ๐ I am going to try it.