calculation bug

Job ID: 33068957

Budget: $30 – $250 USD

Hey can you help fix this issue below?

fixing woocommerce deposit calculation with woocommerce Dynamic Pricing & Discounts.
Deposit is $100
Examples
Product Price = $200
Credit Card Fee= 3.5%
Total Price = $207
My problem is when user selects deposit the get= $107

Correct answer when user Selects Deposit is $100= $103.5
Related categories: PHP JavaScript WordPress HTML WooCommerce