this part makes trouble:
Code:
if (is_object($order)) $this->update_status();
$this->form_action_url = 'checkout_process.php';
so we dont have this checkout_process.php in ZC ...
this Part needs to include in checkout_process.php:
Code:
find the line
$cart->reset(true);
and add after
//payment cetrel
if($payment == 'cetrel'){
tep_redirect('https://pos.cetrel.lu/jsp'.(MODULE_PAYMENT_CETREL_MODE == 'Test' ? 'cert' : '').'/intro.jsp?merchid='.MODULE_PAYMENT_CETREL_MERCHANT_ID.'&amount='.number_format($order->info['total'] * $currencies->currencies[$order->info['currency']]['value'], $currencies->currencies[$order->info['currency']]['decimal_places'], $currencies->currencies[$order->info['currency']]['decimal_point'],'').'&msgnr=200&trefnum='.$insert_id.'¤cy='.$order->info['currency'].'¤cylabel='.$currencies->currencies[$order->info['currency']]['title'].'&language='.$languages_code.'');
}
//end payment cetrel
can i put it into the modul file instead of:
$this->form_action_url = 'checkout_process.php';
like:
Code:
if (is_object($order)) $this->update_status();
//payment cetrel zen_redirect('https://pos.cetrel.lu/jsp'.(MODULE_PAYMENT_CETREL_MODE == 'Test' ? 'cert' : '').'/intro.jsp?merchid='.MODULE_PAYMENT_CETREL_MERCHANT_ID.'&amount='.number_format($order->info['total'] * $currencies->currencies[$order->info['currency']]['value'], $currencies->currencies[$order->info['currency']]['decimal_places'], $currencies->currencies[$order->info['currency']]['decimal_point'],'').'&msgnr=200&trefnum='.$insert_id.'¤cy='.$order->info['currency'].'¤cylabel='.$currencies->currencies[$order->info['currency']]['title'].'&language='.$languages_code.'');
}
//end payment cetrel