Removing extra end from PaymentNotification class.