Updated Partpayment Calculations

Fix: wrong partpayment cost
Fix: error code in Message string.