Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

for god sake someone help me please


Recommended Posts

ive discovered that the problem that i thought i had with my nochex problem was not with nochex but with my currency somewhere along the line


now if i select GBP which nochex requires my prices do not show

and if i use "1" then my prices show but i cannot use nochex


is there another file i need to change a setting in.


please please please someone help

live long and prosper

Link to comment
Share on other sites

When you put GPB as your default currencie, do you put 1.0000000 as the value and click the update currencies button ?




Link to comment
Share on other sites

Firstly, check you have the currency values entered correctly:

Currency Code Value Action  

Great British Pound (default) GBP 1.00000000   

Displaying 1 to 1 (of 1 currencies) Page 1 of 1 

 Edit Currency 

Please make any necessary changes 

Title:   Great Britain Pound

Code:  GBP

Symbol Left:  ?

Symbol Right:  

Decimal Point:  .

Thousands Point:  ,

Decimal Places:  2

Value: 1.0000  (or whatever exchange rate is with your default currency)


If that doesn't work, tell us exactly what goes wrong. You say

if i use "1" then my prices show but i cannot use nochex

How does it not work? Do you get an error message?


Link to comment
Share on other sites

I've just tried to make a purchase & a couple of problems came up

1) price in checkout confirmation will only show as $, regardless of which currencies is selected.

2) only the shipping amount is feeding through to nochex.


I'm pretty sure its not due to how the currency is set up in admin, since the prices display fine right up to that point. Since the shipping amount is also in $, I doubt its down to the currency being wrong for nochex. Could be wrong about that, of course.


Are you using osc unmodified or have you added any other contributions? or loaded5?

Link to comment
Share on other sites

$process_button_string = tep_draw_hidden_field('cmd', '_xclick') .

tep_draw_hidden_field('email', MODULE_PAYMENT_NOCHEX_ID) .

tep_draw_hidden_field('amount', number_format(($total_cost + $total_tax + $shipping_cost) * $currencies->currencies['GBP']['value'], 2)) .

tep_draw_hidden_field('ordernumber', $customer_id . '-' . date('Ymdhis')) .

tep_draw_hidden_field('returnurl', tep_href_link(FILENAME_CHECKOUT_PROCESS, $nochex_return, 'SSL')) .

tep_draw_hidden_field('cancel_return', tep_href_link(FILENAME_CHECKOUT_PAYMENT, $nochex_cancel_return, 'SSL'));


return $process_button_string;


that is my line 53 to 60 of my nochex module if that makes any difference


also yes ive added a few things but nothing that would have affected the currencies or payment modules

live long and prosper

Link to comment
Share on other sites

hmm, perhaps you could try removing

$total_tax + $shipping_cost

just to see if it makes a difference. If it does, you know its a problem with that line & if it doesn't you've ruled out one more thing.


I'll keep my fingers crossed for you. :wink:

Link to comment
Share on other sites

  • 2 weeks later...

This is not a solution bit go to your currency drop down menu and try changing it it the uk corrency or to another and then back.


I mention this as I had the same problem as you, did this and now GBP are showing fine, or as far as I can see.

Kind Regards

Timothy Bowers

Bowers & Vee

Link to comment
Share on other sites

  • 2 weeks later...

THis looks like a serious FLAW in osC unless I am



I discovered this problem today, up to the

Check out process ( call to

/catalog/checkout_confirmation.php?) the currency

remain GBP or EURO but then only Dollar value

is shown.


I have seperate price levels for GBP and USD

and will need that Prices are shown and deducted

from credit cards in the exact currencies.


Is there a way to ensure this ?


It looks like /catalog/checkout_confirmation.php

needs some mods.

Link to comment
Share on other sites

ive had an amail of multicards yesterday and they tell me that they are wrighting up the new module for the latest version of oscom and as soon as i get them ill post them in the contrib so just keep checking ok.....

live long and prosper

Link to comment
Share on other sites

Hi Paul Many thanks


I found this solution in another post. seems to be

working well


I was having the same problem and I fixed this by commenting the currency section from catalog/includes/application_top.php



// currency


/*  No more using this crap

 if (!tep_session_is_registered('currency') || isset($HTTP_GET_VARS['currency']) || ( (USE_DEFAULT_LANGUAGE_CURRENCY == 'true') && (LANGUAGE_CURRENCY != $currency) ) ) {

   if (!tep_session_is_registered('currency')) tep_session_register('currency');


   if (isset($HTTP_GET_VARS['currency'])) {

     if (!$currency = tep_currency_exists($HTTP_GET_VARS['currency'])) $currency = (USE_DEFAULT_LANGUAGE_CURRENCY == 'true') ? LANGUAGE_CURRENCY : DEFAULT_CURRENCY;

   } else {






   if (isset($HTTP_GET_VARS['currency'])) {

     if (!$currency = tep_currency_exists($HTTP_GET_VARS['currency']))  

 $currency = $HTTP_GET_VARS['currency']  ;

        tep_session_register('currency') ;  

   } elseif(!tep_session_is_registered('currency')) {

     $currency = LANGUAGE_CURRENCY;


/* END */




I am using osc ms1

Link to comment
Share on other sites


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

  • Create New...