#jakel

1 messages · Page 1 of 1 (latest)

weary mountainBOT
civic niche
#

Hi there!

night pilot
#

Hi soma - req_XUX2HrxZjyxNr8

civic niche
#

Thanks! Give me a few minutes to look into this.

night pilot
#

Thank you very much

civic niche
#

In the transfer, you set transfer_group: "1de0a4ea-bc80-4932-8fcc-2bb20114ec63"
But on the related PaymentIntent, you set transfer_group: "b2c584b8-31ba-49a0-ac4c-1e0e1748bb91"

#

If you want to use transfer_group, then the strings have to be the same on the PaymentIntent and on the Transfer.

#

But note that transfer_group is completely optional, so you could simply omit it.

night pilot
#

Got it - thank you. And using transfer_group would simply allow us to more easily track which transfers are associated with which charges?

sacred kernel
#

👋 taking over for my colleague. Let me catch up.

sacred kernel
#

so feel free to ignore it if it's not something you want to worry about

#

source_transaction is enough to "bind" a transfer to a Charge/Payment Intent

night pilot
#

I see - thank you very much for the explanation. Overall, if we do not create a transfer_group ourselves, as long as we know the source_transction then we can use that to find all associated transfers if we wanted to?

sacred kernel
#

Unfortunately that's not quite possible, today we don't have the direct ability to list transfers by source_transaction, what you need to do instead is to retrieve the source_transaction (Payment Intent in this case) and get the transfer_group that was created by Stripe for you, and then list the transfers by group

#

it's a hassle I agree, but that's the best we can do now

night pilot
#

Got it - OK, thank you very much. What Soma provided gave us a hint into what we were doing incorrectly so we should be able to use the transfer_group once we make the adjustment on our end. Thank you again for your help!

sacred kernel
#

yes I agree, what you're doing is much easier for the retrieval since you already have the transfer_group id and no longer need the extra step to get it