fixed bug where payment editingdid not save redit and debit cids.