#Capybara

1 messages · Page 1 of 1 (latest)

dawn micaBOT
abstract juniper
#

What have you tried? What specific part are you stuck with?

blazing spindle
#

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.

abstract juniper
#

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

blazing spindle
#

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.