working on a payment modul that needs a remote check from bank. I'm using following check.php the parameter amount and currency not working, all other like merchant_id working fine.
Could somebody help me with that part?
Code:<?php require('includes/application_top.php'); $remote_addr = $_SERVER['REMOTE_ADDR']; if(preg_match("/2xx.xxx.xxx./", $remote_addr)){ if(is_array($_POST) && $_POST['merchid'] != '' && $_POST['trefnum'] != ''){ if(MODULE_PAYMENT_CPAY_MERCHANT_ID == $_POST['merchid']){ require(DIR_WS_CLASSES . 'order.php'); $order = new order($_POST['trefnum']); echo 'amount:'.number_format(($order->info['total']) * $currencies->currencies['EUR']['value'], $currencies->currencies['EUR']['decimal_places']'')."\n"; echo 'currency:EUR'."\n"; echo 'msgnr:200'."\n"; echo 'trefnum:'.$_POST['trefnum']."\n"; } } } ?>



