finalizing payments