closing the payment