neurotoxic Posted April 20, 2004 Share Posted April 20, 2004 (edited) I am having problems setting up InternetSecure with osCommerce. What happens is when you select a currency from the osC website -- when you get to IS confirmation page, the prices are not always displayed with the right currency (ex: you select USD, and IS displays prices in Canadian $). I believe it has to do with the Currency Switch, which I must edit from the Admin area. Here is what the code looks like. Is there anything wrong? Because no matter what option I select, there always seems to be a problem. Either it's always CAN and never US, always US and never CAN -- no matter what currency the client selected on the website... switch (MODULE_PAYMENT_ISECURE_CURRENCY) { ? ? ? ?case 'Always USD': ? ? ? ? ?$trx_currency = '::{US}'; ? ? ? ? ?break; ? ? ? ?case 'Always CAN': ? ? ? ? ?$trx_currency = ''; ? ? ? ? ?break; ? ? case 'Either CAN or USD, else USD': ? ? ? ? ?if ( ($currency == 'CAN') || ($currency == 'USD') ) { ? ? ? ? ? $trx_currency = ?'::{US}'; ?} else { ? ? ? ? ? ?$trx_currency = ''; ? ? ? ? ?}; ? ? ? ? ?break; ? ? ? ?case 'Either USD or CAN, else CAN': ? ? ? ? ?if ( ($currency == 'USD') || ($currency == 'CAN') ) { ? ? ? ? ? $trx_currency = ''; ? } else { ?$trx_currency = '::{US}'; ? ? ? ? ?} ? ? ? ? ?break; ? ? ?} Thanks! Edited April 20, 2004 by neurotoxic Quote Link to comment Share on other sites More sharing options...
neurotoxic Posted April 22, 2004 Author Share Posted April 22, 2004 bump! I am really desperate.... :( Quote Link to comment Share on other sites More sharing options...
Guest Posted May 7, 2004 Share Posted May 7, 2004 There are definite issues with the current contribition. Internetsecure is working on revisions and will be posting modified code next week. :) Quote Link to comment Share on other sites More sharing options...
mychol Posted May 7, 2004 Share Posted May 7, 2004 Most excellent! I've been hoping IS would get involved in completing this contribution, and there they are! Bravo, InternetSecure! Can there be a notice posted in this thread to trigger an update message, when the completed contribution is available? I'm monitoring this thread for new posts. Just a thought. :wub: Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.