#repark_ben - SC&C

1 messages · Page 1 of 1 (latest)

velvet hareBOT
wild canopy
#

That is correct, the transfer is created when you make the transfer create call there.

main burrow
#

so this should be called AFTER the user has confirmed the payment?

wild canopy
#

Correct

main burrow
#

so this cannot be done in one go, since they are in the same transfer_group?

wild canopy
#

If that flow works with your use case it could make sense to use that instead of separate charges and transfers

main burrow
#

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

wild canopy
#

Correct, the transfer group is just for organizational purposes. The transfer needs to be made separately here.

main burrow
#

alright, thank you very much! that complicates things a little, but i guess we have to make due