#gourav-kumar_code
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/1319579595338682400
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
https://docs.stripe.com/connect/separate-charges-and-transfers you can use separate charges and transfers so that you can decide the time and amount for fund transfers
We have shared our code. Please review it. We have read the Stripe Connect documentation and tried various approaches, but we have not been successful.
this is the admin side code and below is my intent creation code
$stripe = new StripeClient(env('STRIPE_SECRET'));
$stripe->paymentMethods->attach($request->paymentMethodid, [
'customer' => $customerid
]);
$setupIntent = $stripe->setupIntents->create([
'customer' => $customerid,
'payment_method' => $request->paymentMethodid,
'usage' => 'off_session',
]);
$setupIntentConfirmation = $stripe->setupIntents->confirm($setupIntent->id);
$intentinfo = $stripe->paymentIntents->create([
'amount' => $netDepositAmount, // Total amount to be charged
'currency' => 'gbp',
'customer' => $customerid,
'payment_method' => $request->paymentMethodid,
'setup_future_usage' => 'off_session',
'confirm' => true,
'confirmation_method' => 'automatic',
'on_behalf_of' => $accountdataid, // Expert's Connect account ID
'payment_method_options' => [
'card' => [
'request_three_d_secure' => 'automatic'
]
]
]);
can you tell why its not shown the transfer details at the time of payment intent creation time . aur how we can manage this payment only transfer in our bank account afterthe confirmation from admin and transfer to connected account
I'm not following, I though you want to create a transfer after the payment is confirmed and funds are available in your account?