Issue with Transfers to Seller Accounts on Stripe Connect
Unanswered
American English Coonhound posted this in #help-forum
American English CoonhoundOP
havning a horrible issue with stripe connect my wrok flow is when the user visits his seller dashboard a create account into stripe connect function is called and save the stripe id into database
then when chekout i make a session with all the products as line items and in web hook i get each seller of the products calculate its total and
await stripe.transfers.create({
amount: transferAmount,
currency: "usd",
destination: transfer.stripeAccountId,
transfer_group: session.payment_intent,
});
the error says You have insufficient available funds in your Stripe account. Try adding funds directly to your available balance by creating Charges using the 4000000000000077 test card. See: https://stripe.com/docs/testing#available-balance
then when chekout i make a session with all the products as line items and in web hook i get each seller of the products calculate its total and
await stripe.transfers.create({
amount: transferAmount,
currency: "usd",
destination: transfer.stripeAccountId,
transfer_group: session.payment_intent,
});
the error says You have insufficient available funds in your Stripe account. Try adding funds directly to your available balance by creating Charges using the 4000000000000077 test card. See: https://stripe.com/docs/testing#available-balance