Regarding Stripe fee calculation, is there is any way to get the Stripe fee according to the amount provided.
We have to implement this in such away that, we have to pay x amount to one dealer and y amount to another.
1st case:
Let say we have $100 to pay to Stripe.
According to our needs, we want to calculate the Stripe fee first and then add that fee to the $100 amount.
e.g:
Amount to be Paid is $100 + $3 (Stripe fee) = $103 (Total) you need to cut from the customers account.
2nd Case:
We need to pay $95 to the dealer and the $5 left we want to keep in our account (excluding the Stripe fee).
If this is possible, how do we implement this?