#Łukasz Mularczyk

1 messages · Page 1 of 1 (latest)

elfin cloakBOT
ornate rain
#

Hi there, as the error explains, you don't have sufficient fund to create a transfer

#

You can create some test charges to add funds to your account

naive glade
#

ok, but currently all my funds are on hold, probably because of the message from the screenshot

#

Do we need to set this account for test mode?

#

The other problem is that in settings, it doesn't look like I can have different settings for test and production

jaunty berry
#

Hi! I'm taking over this thread.

naive glade
#

thank you very much for your help, I will try to use your tips

#

@jaunty berry one more question: is it possible to use the source_transaction just after creating a payment intent, or should it be used after successful payment?

#

I mean, I'd like to share money with merchants

jaunty berry
#

You can do it right away. But as mentioned in the doc I linked:

A pending balance will transfer immediately but the funds will not become available until the original charge becomes available.

naive glade
#

ok, and which param should be passed to source_transaction?

#

from paymentIntent response?

jaunty berry
naive glade
#

I have:
"latest_charge": null

#

what to do to not have it as null?

jaunty berry
#

Can you share the PaymentIntent ID (pi_xxx)?

naive glade
#

pi_3MH1oxKcEfy0ogYO1tfNO8pe

jaunty berry
#

The status of this PaymentIntent is status: "requires_payment_method", so it's expected that there is no charges ID yet.

#

You need a PaymentIntent in a succeded status to get a charge ID.

naive glade
#

now it works, thank you 🙂