#arrow_best-practices
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/1378001879400841330
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Can you share a couple of examples to illustrate what you're trying to solve?
Note that explicitly passing on payment fees to customers is regulated in some jurisdictions and you need to make sure your implementation is in compliance with any applicable regulations.
Generally our recommendation is to set your pricing to account for this based on the payment methods you offer.
ie, instead of passing on eg 2% fees on the payment amount, instead set your pricing 2% higher overall.
This is your choice, though.
Generally speaking you cannot get the stripe fees for a payment until after it is complete/confirmed, since it depends on details we don't have until that time.
we understand about compiance and I understand about making it 2% higher but then stripe will take 2% on the amount that we set right ?
So if you want to know those fees before completing payment, you need to implement a flow that allows you to inspect the payment method details before confirmation (eg, server side confirm or two step using confirmation tokens) so you can calculate those fees based on the schedule that applies for your account for that payment method & customer etc.
The "2%" is just an arbitrary example for discussion, not a specific fee. But yes, fees are calculated based on the payment amount you set.
ok got it there is not direct way to do it we need to find and add it to amount but my final question is as follow
let say fee is 2% and amount is 10 then we have to pay 0.2 to stripe but now if amount is 10.2 then 0.204 which is needed more then what we look from user (just example) trying to get picture that makking it 2% expensive will also increase stripe payout right ?
Yea, the amount you increase the payment by can also increase the fees, so you should account for this in your calculation.
cool
so to end up with some amount after fees you need to solve for x in x - fees(x) = amount where fees() depends on the details of the payment.
got it
in this simple example, x - x*0.02 = 10 is x(1-0.02)=10 is x=10/0.98 or x=10.204 (round how you like to account for the penny over or under)
Again, broad caveat ot make sure you're allowed to add fees to payments for whatever regulations apply to your business & customers.
yes but we don't have a direct way to charge this to end user was looking for if it was so we can skip all this and stripe simply add it to the base amount but I understand it is not avalible on stripe.
thank you for the help we will work around with all this information
Hello
We have some general discussion of this here: https://stripe.com/en-ca/resources/more/credit-card-surcharges-explained-what-businesses-need-to-know
The "alternatives" include what i mentioned:
Allowing cost absorption
Some businesses may decide to absorb the fees, balancing this by adjusting prices slightly across all products and services.