updated balanced_payment.rb to address multiple payment use cases
Merge branch 'issue-024' into develop