#Anas khan

1 messages · Page 1 of 1 (latest)

bitter walrusBOT
keen parcel
#

Hi 👋 our support article walks through the math on how to estimate the Stripe fee for a payment and include the correct extra amount to cover the fee:
https://support.stripe.com/questions/passing-the-stripe-fee-on-to-customers

I also recommend that you double check with your legal advisor to ensure that you are permitted to pass this fee on to your customers in your region(s).

plucky spruce
#

i have already checked the article. The problem here is that when i have calculated the amountfor $100 using the formula the amount is $103.29 according to the formula including fees but when i am hitting the api the amount stripe recives $103.29 then stripe deduct the fees from this although the fees calculated from $100 .... i want fix $100

keen parcel
#

Sorry, I don't think I understand.

#

Can you share the ID of a Payment Intent that you used for testing that I could take a closer look at?

plucky spruce
#

look the customer entered the amount $100 to pay me. i have calculated the stripe fees using the formula which is $3.29. Now when i am sending the 103.29 to stripe the fees get increased as now stripe calculate the fees according to $103.29 and we were sending the extra amount according to $100

keen parcel
#

What were the fees on the Payment Intent when you specified an amount of $103.29? Were the calculated fees different from the $3.29 you had calculated using the provided formula?

plucky spruce
#

on $100 the formula calculated the fees $3.29 and when i am sending the $103.29 to stripe the fees stripe is deducting is $3.3.

#

i want full $100 to my account after deduction of the fees

keen parcel
#

When I run $100 through the formula in the support article using our currently listed standard pricing (I'm assuming this is the same set of values that you're using, but please let me know if that is wrong), I get that the amount that would need to be charged is $103.2955716 which would round to $103.30 and aligns with what you say our system is calculating the fee to be.

When you built your formula to calculate the total price that you need to charge, did you force it to always round down?

plucky spruce
#

do we have to force it to round down

keen parcel
#

No, you don't.

plucky spruce
#

ok sorted now thanks