#ChristianDX

1 messages · Page 1 of 1 (latest)

unreal schoonerBOT
elder furnace
#

hello! was there a payment initially?

#

and subsequently you want to transfer funds from that payment to the connected account?

outer ridge
#

Yes
Payment (OK) example 100EUR
After that 25EUR to connected Account

#

pi_3MABXjCLx03K8PXj0agWpjfh

#

payment

elder furnace
#

The main point to remember is that when using source_transaction, if the payment is still pending, then the transfer will pull the funds from the pending balance. If the payment is already available, then the transfer will pull the funds from the available balance.

outer ridge
#

Uuuuuuuuuu
Sounds good.
Let me take a look to my source

elder furnace
#

if you don't specify the source_transaction, it'll always try to use the funds from your available balance

#

and in your case, if the payment funds is not yet available, and you don't specify the source_transaction then you run into the problem of insufficient funds

outer ridge
#

really thank you, sounds logical 🙂
I will try it and come back soon

outer ridge
#

Works with CARD Payment as a charme

But SOFORT throws an error

req_1hDCPf5dQDvvJG

invalid_request_error
Cannot use a source_transaction that has a null balance_transaction (you might want to check py_3MATypCLx03K8PXj0x9i0cKE to see if it failed.

#

sounds like f*** async. Payment ?

elder furnace
#

btw, is there a reason why you're defining the Transfer separately? Unless you're making transfers to multiple different merchants, in most cases you should perform a destination charge instead, where you would define the transfer destination with the charge, so that you don't have to do it separately. looking at the py object in the meantime

outer ridge
#

directly in the Paym.Intent ?

#

This one ?
'transfer_data' => [
'destination' => '{{CONNECTED_STRIPE_ACCOUNT_ID}}',
],

Problem is that i have not One Destination
It´s a mixed payment with several transfers

outer ridge
#

Basicly the question why
i´m running the negative Balance with "enough" money to prevent this

elder furnace
#

gimme a while to look. But based off the error message, the problem isn't due to a negative balance. For context, the Future refunds / disputes or negative balance cannot be used for a Transfer

#

hmmm, if you create the Transfer now with the py_ object does it still fail?

outer ridge
#

only with SOFORT Payment

#

req_1hDCPf5dQDvvJG

#

Cannot use a source_transaction that has a null balance_transaction (you might want to check py_3MATypCLx03K8PXj0x9i0cKE to see if it failed

elder furnace
#

ok this is really odd, i can see that it does have py_3MATypCLx03K8PXj0x9i0cKE does have a balance_transaction so i'm baffled as to why it's throwing that error message. Sorry to redirect you, but do send an email to https://support.stripe.com/contact/email with the request id and the details and we'll look into it further

#

let me know once you've sent the email

outer ridge
#

Thank you, i will do this
Nice wekend