Nada, he hecho las modificaciones dichas en estas paginas y nada de nada: ERROR. Faltan campos obligatorios
$tipomoneda = “978”
'TipoMoneda' => $tipomoneda,
$cifrado = 'SHA1';
//$string = "$calculo $clave $code $AcquirerBIN $TerminalID $ord $amount $currency $Exponente \"\" ";
//$resultado = exec($string);
$resultado= sha1($clave.$code.$AcquirerBIN.$TerminalID.$ord.$amount.$tipomoneda.$Exponente.$cifrado.$URL_OK.$URL_NOK);
//$URL_OK = Mage::getUrl($this->getConfigData('URLOK'));
//$URL_NOK = Mage::getUrl($this->getConfigData('URLNOOK'));
$URL_OK = str_replace("?___SID=U","",Mage::getUrl($this->getConfigData('URLOK')));
$URL_NOK = str_replace("?___SID=U","",Mage::getUrl($this->getConfigData('URLNOOK')));
$sArr = array(
'Importe' => $amount, // convert to minor units
'TipoMoneda' => $currency,
'Num_operacion' => $ord,
'MerchantID' => $this->getConfigData('merchantnumber'),
'AcquirerBIN' => $this->getConfigData('AdquirerBIN'),
'Idioma' => $this->calcLanguage(Mage::app()->getLocale()->getLocaleCode()),
'Exponente' => $this->getConfigData('Exponente'),
'Firma' => $resultado,
'Pago_soportado' => $this->getConfigData('PagoSoportado'),
//'URL_OK' => Mage::getUrl($this->getConfigData('URLOK')),
//'URL_NOK' => Mage::getUrl($this->getConfigData('URLNOOK')),
'URL_OK' => $URL_OK,
'URL_NOK' => $URL_NOK,
'TerminalID' => $this->getConfigData('TerminalID'),
'Cifrado' => $cifrado,
'TipoMoneda' => $tipomoneda,
);