finalizing payment