#cnguyen-transfer-group
1 messages · Page 1 of 1 (latest)
Hi. I have a pi_XXX.
Hey there 👋
I retrieve it. And I have the transfer_group associated
When I want to do a something like
const transferList = await stripe.transfers.list({
destination: paymentIntent.on_behalf_of,
transfer_group: paymentIntent.transfer_group,
limit: 4
})
The data are empty
And I don't understand why. Because I know that I have at least one or 2 transfer with this transfer group
Do you have the request ID associated with the request where you saw this behavior?
And even in my PI_XXX, I have the transfer_group. So I have one transfer corresponding
req_LzYGfSyTbjAG2T
yes
I make test with
pi_1HvNveED5xkfDv2cNe1aDTQC
And you will see the transfer group associated is acct_1HrfyS2RMgXRVOch / a636be7f-0f72-4eb5-8036-f874463ca7ad / sdsd@sdsds.com / cus_IWQnPkVNX7z1Gf / FORM / 2020-12-06T14:09:34.042Z
I do see that transfer group provided in your request appears to match what is in the PI, continuing to dig.
ok
So I'm struggling to find any transfers associated with that PaymentIntent, which would make sense as it seems to be incomplete. It has a status of requires_payment_method.
ok maybe I need to do it with an one successful one
Yeah, give that a shot and let us know if it doesn't work as expected. We don't create the transfer objects before the a successful charge has been made.
OK it's that !
OMG I waste a lot of time just because I take the current example given in the doc api
thank you
with a successful one is good
Awesome, glad to hear it's working!