diff --git a/plugin/buycourses/src/cecabank_response.php b/plugin/buycourses/src/cecabank_response.php index 65229ea1a3..1d6398d480 100644 --- a/plugin/buycourses/src/cecabank_response.php +++ b/plugin/buycourses/src/cecabank_response.php @@ -21,15 +21,15 @@ if (empty($_POST['Num_operacion']) || empty($_POST['Firma']) || empty($receivedA api_not_allowed(true); } -$signature = $plugin->getCecabankSignature($_POST['Num_operacion'] , $receivedAmount); +$signature = $plugin->getCecabankSignature($_POST['Num_operacion'], $receivedAmount); -if($signature != $_POST['Firma']) { +if ($signature != $_POST['Firma']) { api_not_allowed(true); } $sale = $plugin->getSaleFromReference($_POST['Num_operacion']); -if (empty($sale) ) { +if (empty($sale)) { api_not_allowed(true); }