That means the payment has already been processed which means it took the payment including the amount for rounding and then you took rounding off creating a balance due.
If you want it automatic only when Credit Card is used then you may need to change your entire setup for the calculation and instead of using Rules use Payment Processors linked to payment types.
You can add the calculations to all payment types but Credit Cards.
If this is not an option that will work for you then you need to create a process that designates it to remove before credit card is processed. You can not do this through the Settle screen without a manual remove button…
So you could setup something that asks before you enter Settle Screen if its Credit Card or not and then remove calculation if Credit Card is chosen then it will enter the Payment Screen.
So basically add an ask question action to your Settle Rule. You would handle the response if its Credit Card then it will execute the Remove Calculation action before you allow it to enter the payment screen.
Go to your Payment Types and add a Payment Processor choose Add Calculation and insert your calculations. Do this for all payment types except Credit Card. Delete your rules that was adding your calculations.
i restarted samba nopw nothing is happening
what is the purpose for use change amount. do we need to define the round up amount here or in calculation type.
this is what i have done
remove calculation selector mapping
add calculation in cash payment processor as shown above