#akfdmrzn

1 messages · Page 1 of 1 (latest)

cerulean patioBOT
faint grotto
white bramble
#

for example

#

I will charge to this id 'acct_1MUteI8A2giPr9Pb'

#

there is an connected user in my dashboard like that

faint grotto
#

You will need to share the error or the failing request ID with me (req_xxx) so I can understand the issue

white bramble
#

hmm okay I understood wrongly

#

okay I will.

#

this is id for request

#

req_M2bzd2dtwWT13Y

faint grotto
#

Error looks pretty clear to me. Your account doesn't have sufficient balance to cover the transfer you're creating

white bramble
#

yeah but

#

my problem is not that

#

I want to transfer money to destination when making a payment actually

#

like a fee

#

because in my first code screenshot, I can transfer money like a fee to one user but I don't transfer money to two differents users

faint grotto
white bramble
#

yeah I readed this, so for separate charges, I need to load some money firstly in test mode, Am I wrong?

faint grotto
#

Yes, you need to accumulate an account balance to cover the transfer. Depending on what test card(s) you're using, it's likely the balance is in a pending state (and unavailable for transfers for X days). Use these cards to skip the pending balance: https://stripe.com/docs/testing#available-balance

Simulate payments to test your integration.

#

Use those to pay your Payment Intent, and then the balance form that PI will be immediately available and your Transfer creation should succeed

white bramble
#

My last question is that;

#

I copied these codes in my api and I write any stripeAccountId

#

but I got the same error, Before from these steps,

#

I need to load money

faint grotto
#

What's the pi_xxx ID?

white bramble
#

"pi_3MWVr5G8kZhljlPL0BQjnSSz"

#

these paymentintent response return Okay no problem

faint grotto
#

status: "requires_payment_method"

#

You need to confirm the PI and provide a card/payment method

white bramble
#

hmm

#

actually response give 200 so I couldnt see

faint grotto
#

In your creation request, pass the following:

confirm: true,
payment_method: "pm_card_bypassPending"
white bramble
#

okay. I see

#

thank you

faint grotto
#

It's not like the Charges API, if you're familiar with that

white bramble
#

so I want to return client Secret Key for ios app, and then IOS Payment sheet will appear with these secret key

#

yeah I see

#

I guess I need to read these documents

#

thank you

#

ynnoj

faint grotto
#

You can then build upon that for your separate transfers

white bramble
#

yeah I did all of these but just one signle person fee's

#

I can take a pamynet and I will load money to another user with stripe accountID

#

but I want to make these for multiple accounts in one payments

#

so, you say you need to use charge api not payment intent

faint grotto
#

You need to create and confirm a Payment Intent before you can do anything else

#

All you have right now is an incomplete PI and no balance to do the transfers

#

Create the PI as I showed you, and then it will be in a succeeded state and the balance available to be transferred to your accounts as you need

#

I'd really recommend reading some of the documentation however

white bramble
#

yeha okay I will read these documents from the begining

#

thank you

#

👍