CORRECCION KUSHKI WS OBTENCION DE DATOS SUSCRIPCION

parent beb302f4
......@@ -14,7 +14,7 @@ use App\Utilities\Utiles;
class VerificarSuscripcionKushkiCommand extends Command {
const successfulCharge = "successfullCharge";
const successfullCharge = "successfullCharge";
const failedRetry = "failedRetry";
const lastRetry = "lastRetry";
const subscriptionDelete = "subscriptionDelete";
......@@ -76,10 +76,10 @@ class VerificarSuscripcionKushkiCommand extends Command {
curl_close($ch);
$log->debug('Retorno status a obtener informacion suscripcion:' . $status_code_informacion . ' | desc:' . $output);
$data = json_decode($output, true);
$log->debug(print_r($data,true));
if ($data['code'] == 200) {
switch ($data["event"]) {
case $this::successfulCharge:
case $this::successfullCharge:
$fechaActual = new \DateTime();
......
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