#vamsi_43560

1 messages · Page 1 of 1 (latest)

scarlet sageBOT
pastel mango
mossy yarrow
#

How can I help?

pastel mango
#

create payment internt with transfer_order

#

and did the payout to a connected account through transfer

mossy yarrow
#

Error seems pretty verbose to me: acct_1MGUTiEJx1LumFjq doesn't have sufficient funds

pastel mango
#

using the same transfer_order and connected account id

mossy yarrow
#

Have you test accumulated enough of a balance on that account to cover the .85 transfer??

pastel mango
#

Yes

mossy yarrow
#

Which test card did you use? I suspect it's still in a 'pending' state

#

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.

pastel mango
#

4242 4242 4242 4242

#

oh then thats the issues

#

in case of live account how does this work ?

mossy yarrow
pastel mango
#

if customer uses credit card to pay would that be pending ?

mossy yarrow
#

You can pass source_transaction and the transfer will only occur once that transaction has settled in your balance

mossy yarrow
pastel mango
#

Got it

#

can i have multiple source transactions ?

#

tied to a single charge ?

mossy yarrow
#

You can create multiple transfers with the same source_transaction, as long as the sum of the transfers doesn’t exceed the source charge

pastel mango
#

i want the other way around

#

where i will have multiple source transactions mapped to a single charge

mossy yarrow
#

Well source_transaction is a ch_xxx (Charge) ID

#

So the answer above is right

#

You can do source_transaction: 'ch_xyz' multiple times as long as the sum of those transfers isn't greater than the amount of ch_xyz

pastel mango
#

do you mean something like below ?stripe.Transfer.create(
amount=1000,
currency="usd",
source_transaction='{{CHARGE_ID1}}',
source_transaction='{{CHARGE_ID2}}', source_transaction='{{CHARGE_ID3}}',destination='{{CONNECTED_ACCOUNT_ID}}',
)

mossy yarrow
#

No, you can't pass the parameter multiple times

pastel mango
#

then i need to create multiple tranfers with diff source transactions ?

#

i want to create single transfer requested associated with multiple source transactions

#

as source transactions are smaller than final charge

pastel mango
#

I see