Updating payment failed email logic