#gourav-kumar_code

1 messages ยท Page 1 of 1 (latest)

fleet reefBOT
#

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

misty matrix
crude coyote
#

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

misty matrix
#

I'm not following, I though you want to create a transfer after the payment is confirmed and funds are available in your account?