added removal of payment after failing