#krishna-awate_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/1263383536224829502
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
hello! What component are you using to collect payment e.g. Payment Element, Checkout Sessions?
Payment intent
PaymentIntent is an object, I'd like to know which of the integration flows you're using. You can take a look at the available integration flows in this page : https://docs.stripe.com/payments/online-payments
Payment Element
you'll need to build the logic display that amount to the user on your site on your own. The Payment Element is only responsible for collecting payment method details
Isn't there any way to add extra charges in the API?
can you share more on what do you mean by extra charges?
I mean I want to collect platform fee from user only. Not from our partner. Right now the scenario is that we collect platform fee from partner e.g. when someone pays $100 we deduct our commission $5 and $95 goes to connected account directly. But We want to sent $100 to partner and $5 from user & user should be aware about it.
so from what I understand, your ideal scenario is : A Customer / User pays $105, you want to send $100 to partner, and you will retain $5 as your platform fee?
Yes. But customer should get break up like $100 will be going to parnter and $5 to platform owner.
then this goes back to what I originally mentioned, the breakdown is something which you need to handle. All the Payment Element does is collect payment method details
the Payment Element does not include a display of the breakdown for the amount paid
So I will have to do mannually.
yep