fixed bug in RecordPayment

Signed-off-by: FellowTraveler <F3llowTraveler@gmail.com>