mark Posted September 10, 2002 Posted September 10, 2002 I am having alot of problems with the PSIGate payment module. After checkout and entering the card number I get this error: http://.../shopping_cart.php?Err=&ErrMsg=CC%2D4034%3A+No+ChargeTotal+provided%2E&OrdNo= It seems as thought the total charge is not sent off to psi gate.. Can anyone who has PSIgate or knows about it help me please -
Harald Ponce de Leon Posted September 10, 2002 Posted September 10, 2002 moved to features , osCommerce
mark Posted September 10, 2002 Author Posted September 10, 2002 This line - in psigate.php tep_draw_hidden_field('FullTotal', number_format($order->info['total'] * $currencies->get_value(MODULE_PAYMENT_PSIGATE_CURRENCY), 2)) . has a problem - I 'm not sure what it is yet..but I know it produces a '0' for the value of "FullTotal" Can anyone help me on this ? Thanks
Harald Ponce de Leon Posted September 10, 2002 Posted September 10, 2002 tep_draw_hidden_field('FullTotal', number_format($order->info['total'] * $currencies->get_value(MODULE_PAYMENT_PSIGATE_CURRENCY), 2)) I presume thats being displayed on the checkout confirmation page, due to the hidden form element. Just a bit earlier, can you do the following: echo '$order->info['total']=' . $order->info['total'] . '<br>' . 'currency value=' . $currencies->get_value(MODULE_PAYMENT_PSIGATE_CURRENCY) . '<br>' . 'psigate currency=' . MODULE_PAYMENT_PSIGATE_CURRENCY . '<br>'; that will display some debug information on the checkout confirmation page. , osCommerce
mark Posted September 14, 2002 Author Posted September 14, 2002 Harald, Thanks, I simply took out this part * $currencies->get_value(MODULE_PAYMENT_PSIGATE_CURRENCY), 2)) and now it works fine.... I am not sure what the problem was, but its working the way I'd like it now.. Thanks
Recommended Posts
Archived
This topic is now archived and is closed to further replies.