We will add a validation rule that checks that payment amount does not exceed outstanding charges of a member (Payment amount validation rule):
IF Payment.Amount > Payment.Member.OutstandingCharges THEN
REPORT ERROR 'Payment amount cannot exceed outstanding charges.'