#repark_ben - SC&C
1 messages · Page 1 of 1 (latest)
That is correct, the transfer is created when you make the transfer create call there.
so this should be called AFTER the user has confirmed the payment?
Correct
so this cannot be done in one go, since they are in the same transfer_group?
Not with that flow, we do have a destination charges flow that lets you specify one account to send funds to when the payment is completed https://stripe.com/docs/connect/destination-charges
If that flow works with your use case it could make sense to use that instead of separate charges and transfers
i know, thats what i am doing - i'm just implementing a voucher system. So I e.g. I need to collect 5€ from a user, but he also has a €5 voucher - so our seller needs to get 10€. thats why i have to make separate transfers
and I thought putting a paymentIntent and a transfer in the same transfer group, would trigger the transfer once the payment intent is confirmed. But I guess I first have to wait on the payment_intent.succeeded event
Correct, the transfer group is just for organizational purposes. The transfer needs to be made separately here.
alright, thank you very much! that complicates things a little, but i guess we have to make due