#devzee_api

1 messages ยท Page 1 of 1 (latest)

keen cipherBOT
#

๐Ÿ‘‹ 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.

swift tundra
#

Hello there

#

Are you testing using the Available balance test cards: https://docs.stripe.com/testing#available-balance ?

Use test cards to validate your Stripe integration without moving real money. Test a variety of international scenarios, including successful and declined payments, card errors, disputes, and bank authentication. You can also test non-card payment methods and redirects.

spare hemlock
#

I have already tested in the sandbox mode. All the payments were successful. The problem I am facing in the live.

swift tundra
#

Ah well have you checked your avialable balance in live mode?

spare hemlock
#

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.

swift tundra
#

Then the funds will be in the Connected Account until they become available.

spare hemlock
#

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?

swift tundra
#

Yep

spare hemlock
#

Something like this:

\Stripe\Transfer::create([
    'amount' => $influencerAmountCents, // in cents
    'currency' => 'eur',
    'destination' => $influencerStripeAccountId,
    'transfer_group' => $orderId,
    'source_transaction' => $chargeId,
]);
swift tundra
#

Yep looks good to me

spare hemlock
#

Thanks a lot for your help ๐Ÿ™ I am going to try it.