Use the total amount of the payment field in condition