#krishna-awate_api

1 messages ¡ Page 1 of 1 (latest)

iron lintelBOT
#

👋 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.

white osprey
#

hello! What component are you using to collect payment e.g. Payment Element, Checkout Sessions?

stiff zephyr
#

Payment intent

white osprey
stiff zephyr
#

Payment Element

white osprey
#

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

stiff zephyr
#

Isn't there any way to add extra charges in the API?

white osprey
#

can you share more on what do you mean by extra charges?

stiff zephyr
#

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.

white osprey
#

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?

stiff zephyr
#

Yes. But customer should get break up like $100 will be going to parnter and $5 to platform owner.

white osprey
#

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

stiff zephyr
#

So I will have to do mannually.

white osprey
#

yep

stiff zephyr
#

Okay.

#

Thank you for your help

#

Have a nice day to you.