function updateAccountInfo()
{
    header('Content-Type: application/json');
    validateParameters($_POST);
    try {
        $result = ChargeBee_Customer::update(getCustomerId(), array("first_name" => $_POST['first_name'], "last_name" => $_POST['last_name'], "email" => $_POST['email'], "company" => $_POST['company'], "phone" => $_POST['phone']));
        $jsonResponse = array("forward" => "/ssp-php/subscription");
        echo json_encode($jsonResponse, true);
    } catch (ChargeBee_InvalidRequestException $e) {
        handleInvalidRequestErrors($e);
    } catch (Exception $e) {
        handleGeneralErrors($e);
    }
}