#norparn_code

1 messages ¡ Page 1 of 1 (latest)

loud sunBOT
#

👋 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/1241008460481691681

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

meager pivot
#

hi there!

#

I want to add a application fee to my payment intent but i get an error saying that you cant have transfer data and application fee parameters in the same intent
that's correct. either set application_fee_amount or transfer_data.amount. but you can't set both.

runic shuttle
#

Okay in my app i have company which are the main client, then users can registers as host and create events with tickets. "Normal" users can then buy tickets to created events, i want to transfer the ticketprice to the host of the event and 10% of the ticket price to the main client.

meager pivot
#

the host of the event and the main client, are both connected account?

runic shuttle
#

Only the host are connected not the client

loud sunBOT
meager pivot
#

then you can only send money to the hosts.

runic shuttle
#

What would be an optimal way to send a small fee amount to the "main" client

meager pivot
#

they need to have a Stripe account connected to your platform.

#

and then you can create a Transfer to send money to that Stripe account

runic shuttle
#

Ah okey, so first I create a payment intent for the host and then a transfer from the host to the "main" client?

meager pivot
#

if you need to transfer money to two different accounts (host and main client) then you would use Separate Charges & Transfer as explained here: