You cannot delete a vendor with current or historical transactions.

Issue a manual cheque selecting payment type and then the two transactions. The cheque amount will equal $0.00. After running a subsequent period end all of the transactions will go to history. They will stay there for however long you have set company profile to keep history. Once they are gone from history you will be able to delete the vendor.