se agrega parametro desa en cso de que no se este probando en ambiente

de produccion.
parent 22436935
......@@ -43,12 +43,16 @@ class EntelVPW {
'service' => $lista->getLisVpwService(),
'code' => $lista->getLisVpwCode()
);
$xml = "<?xml version='1.0' encoding='UTF-8'?><subscribe><entry>56" . $msisdn . "</entry></subscribe>";
$url = self::URL_EXTERNAL_VPW_SUSCRIBIR;
$url = str_replace('#PARAMETROS', http_build_query($params), $url);
if(!Utiles::getParametroConfiguracion("isProd")){
$url = $url."&desa";
}
$status_code = null;
$desc = '';
$xmlOutput = '';
......@@ -129,7 +133,11 @@ class EntelVPW {
$url = self::URL_EXTERNAL_VPW_DESUSCRIBIR;
$url = str_replace('#PARAMETROS', http_build_query($params), $url);
if(!Utiles::getParametroConfiguracion("isProd")){
$url = $url."&desa";
}
$status_code = null;
$desc = '';
$xmlOutput = '';
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment