#florian_api
1 messages ยท Page 1 of 1 (latest)
๐ 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/1242846777833689098
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Can you tell me a bit more about your connect setup and what you want these fees to look like?
Of course! Our users are registered in our application and can activate their account to collect payments from "anonymous" customers. Therefore, we are onboarding our users in stripe via api, so they can receive money. When they send a request to collect money, the anonymous customer is directed to a web application of ours where Stripe is integrated. The recipient then receives the full amount, and the fees are billed to us. We now want the fees to be directly retained by Stripe.
Ah sorry, i see that the onboarding from out user by stripe works with the stripe hosted web app
Ah gotcha, unfortunately we don't have anything built in for that at the moment. I will add to the existing feature request, I definitely get how that would be very helpful.
Can you tell me more about how you are currently creating payments via the API? How you do it can change which account gets charged the fees so the available workarounds may change a bit based on what you are currently doing. Trying to find info on what flows result in fees to which account again.
https://stripe.com/de/connect/pricing Here it says that there are actually these two options (sorry, I can't seem to change the language of the page). I am now wondering how I can switch to the left model...
My apologies, I misunderstood your question. Checking in to what that pricing model means integration-wise and will get back to you
thank you and sorry for my bad explanation ๐
Okay, so what that doc is talking about is that if you create the payment intents on your platform, your platform is the one that pays the Stripe fee by default. If you create the intents on your connected accounts, they are the ones that pay the fee by default. Do you know which you are doing currently?
It seems that we are generating the payment intents via api from our backend
That could still mean you are doing it either way. In your code to create these payment intents, are you providing a Stripe account header like in this first link, or are you specifying a destination like in the second link?
https://docs.stripe.com/connect/direct-charges?platform=web&ui=elements#create-payment-intent
https://docs.stripe.com/connect/destination-charges?platform=web&ui=elements#create-payment-intent
Basically, the flow from the first link has fees come out of your platform by default, so if that is your flow the fees should already be getting charged to you properly. If you are doing the second flow, you may wany to do something like check the amount of Stripe fees on the payment and transfer funds to cover those to your connected accounts
Ah my apologies, my knowlege was a bit outdated here. There is a setting on your connected accounts that you can set for direct charges that determines this but you can only set it on account creation it looks like.
https://docs.stripe.com/connect/direct-charges-fee-payer-behavior#selecting-billing-behavior
ah, thats it! Thank you. But how can i configure this if the connected account is created via the stripe hosted app and not via api?
Still trying to look in to this and will get back to you
I'm not familiar with that hosted app method, would you happen to have a link to the doc that you were following to create accounts that way?
Hello! I'm taking over and catching up...
With that flow you still create the connected Account yourself before sending them to hosted onboarding.
Hi
Our frontend opens directly the stripe page: https://connect.stripe.com/express/oauth/v2/authorize?.......
Oh, you're using OAuth with Express. That's no longer a recommended approach, but it does work, and it doesn't require you to create the Accounts yourself.
I think you'll need to switch away from OAuth to do what you want, but let me confirm...
Yeah, I don't think this is supported on the OAuth flow. See the Caution notice here: https://docs.stripe.com/connect/oauth-express-accounts
You need to set the property when you create the account, which you can't do with OAuth.
Okay, i can create an empty connected account with the property via api and pass then the secret to our frontend wich can open the hosted stripe app?
I recommend you make the approprate selections on the right here, then go through the guides on the left: https://docs.stripe.com/connect/design-an-integration#your-personalized-guide