#jarek_connect-sct

1 messages ¡ Page 1 of 1 (latest)

rich foxBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1230981311502483458

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

glacial cometBOT
#

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

burnt ore
#

Hello

#

Yes you control setting transfer_group unless you are creating destination charges in which case it is set for you

next verge
#

so if i were to do this it would be pre set for me const charge = await stripe.charges.create({
amount: 1000,
currency: 'usd',
source: 'tok_visa',
transfer_data: {
destination: '{{CONNECTED_ACCOUNT_ID}}',
},
});

burnt ore
#

Yes

next verge
#

we want to create 2 charges for the same transfer_group, one is destination, other is separate charges, is it possible?

burnt ore
#

Yeah you can specify the transfer_group to whatever you want if you create a Charge without destination so you could always just set it to the same thing generated by the destination charge

next verge
#

what is transfer_group for destination charge?

glacial cometBOT
sly vigil
#

jarek_connect-sct

next verge
#

what is transfer_group for destination charge?

sly vigil
#

Not sure I understand your question. You don't really need it if you use Destination Charges

next verge
#

how do we connect destination and separate charges and transfers for the same order?

sly vigil
#

After the Destination Charge is created you will get a transfer_group set and then you use it for the second one for example

next verge
#

but what is it for example?
just a random string?

sly vigil
#

yes