beforeMergingPayment