Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

PSIGate Payment Module - Help:)


mark

Recommended Posts

Posted

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

Posted
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.

:heart:, osCommerce

Posted

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...