How to calculate the payment amount to include the transaction fees?

You can pass your transaction fees on to your customers by including the fee into the final amount to be charged.

Transaction charges

Stripe charges include a flat fee plus a percentage of the total amount. Neartail charges a 0.5% application fees. The flat fee and the total charge percentage must be factored into the final charge amount to ensure that you receive the desired amount, after Stripe deducts the fee from the charge.

Final Amount = (Total amount + Fixed flat fee) / ( 1 - Stripe % Fee - 0.5% Neartail application fee)

Example: Final amount calculation for US

Stripe charges for US = 2.9% + 30¢ per successful charge
Neartail application fees = 0.5%

Let's say the total amount is $100. If you would like to pass the transaction fees on to your customers, the final amount to be charged to the customer can be calculated as follows:

Final amount = ($100 + 30¢) / ( 1 - 2.9% - 0.5%) = 100.30/0.966 = $103.83