refactor payments/notify