#ChristianDX
1 messages · Page 1 of 1 (latest)
hello! was there a payment initially?
and subsequently you want to transfer funds from that payment to the connected account?
Yes
Payment (OK) example 100EUR
After that 25EUR to connected Account
pi_3MABXjCLx03K8PXj0agWpjfh
payment
so if you have a payment initially, what you would want to do when creating the Transfer is to include the corresponding Charge id in the source_transaction parameter : https://stripe.com/docs/api/transfers/create#create_transfer-source_transaction
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.
Uuuuuuuuuu
Sounds good.
Let me take a look to my source
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
really thank you, sounds logical 🙂
I will try it and come back soon
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 ?
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
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
Basicly the question why
i´m running the negative Balance with "enough" money to prevent this
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?
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
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
Thank you, i will do this
Nice wekend