Return response from pay method instead of redirecting user and fix CS