#Capybara
1 messages · Page 1 of 1 (latest)
What have you tried? What specific part are you stuck with?
from the checkout, I set account 1 as payment_intent_data.transfer_data.destination
after the payment I retrieve the chargeId and tried to create a transfer to account 2 but I get an error like :
The source_transaction can only be transferred to the account that the destination field was set to when it was created.
Ok, yep. You're going to need to handle the 2 transfers manually after the Checkout completes
So you ned to omit the transfer_data hash parameter initially, then create the 2 transfers
This flow is called SC&T: https://stripe.com/docs/connect/charges-transfers
OK so the platform first collect the whole amount, then does two separate transfers ?
Thank you @abstract juniper I will look into this and test. Will be back if I have further questions.
Yep, exactly!