Guest Posted September 8, 2008 Posted September 8, 2008 Hello all: I would like to thank anyone who can help in advance. I have the following problem with osCommerce. It seems to be passing USD code (840) to the Paymentech server rather than 124 (Canadian). I have removed the EURO and USD currencies completely. I deleted all products and then added just one after I removed all currencies. I am stuck on the last step - passing the correct currency to the server. Can anyone help? If I click update currencies I also get: Warning: file() [function.file]: URL file-access is disabled in the server configuration in /home/pso/public_html/osCommerce/admin/includes/functions/localization.php on line 14 Warning: file(http://www.oanda.com/convert/fxdaily?value=1&redirected=1&exch=CAD&format=CSV&dest=Get+Table&sel_list=CAD) [function.file]: failed to open stream: no suitable wrapper could be found in /home/pso/public_html/osCommerce/admin/includes/functions/localization.php on line 14 Warning: implode() [function.implode]: Bad arguments. in /home/pso/public_html/osCommerce/admin/includes/functions/localization.php on line 18 Warning: file() [function.file]: URL file-access is disabled in the server configuration in /home/pso/public_html/osCommerce/admin/includes/functions/localization.php on line 28 Warning: file(http://www.xe.net/ucc/convert.cgi?Amount=1&From=CAD&To=CAD) [function.file]: failed to open stream: no suitable wrapper could be found in /home/pso/public_html/osCommerce/admin/includes/functions/localization.php on line 28 Warning: implode() [function.implode]: Bad arguments. in /home/pso/public_html/osCommerce/admin/includes/functions/localization.php on line 32 Warning: Cannot modify header information - headers already sent by (output started at /home/pso/public_html/osCommerce/admin/includes/functions/localization.php:14) in /home/pso/public_html/osCommerce/admin/includes/functions/general.php on line 22 Can anyone suggest how I can get this fixed to pass the riight currency code?? D :(
DJStealth Posted September 9, 2008 Posted September 9, 2008 Hello all: I would like to thank anyone who can help in advance. I have the following problem with osCommerce. It seems to be passing USD code (840) to the Paymentech server rather than 124 (Canadian). I have removed the EURO and USD currencies completely. I deleted all products and then added just one after I removed all currencies. I am stuck on the last step - passing the correct currency to the server. Can anyone help? Hi, Edit includes/modules/payment/paymentech.php Look for the line that reads: $Currency->attribute('CurrencyCode', '840'); change it to $Currency->attribute('CurrencyCode', '124'); Let me know how it works. I haven't tested it yet, but I plan on doing it soon. I'll need to have it automatically figure out what zone I'm in to set the currency.
Guest Posted September 9, 2008 Posted September 9, 2008 Hi, Edit includes/modules/payment/paymentech.php Look for the line that reads: $Currency->attribute('CurrencyCode', '840'); change it to $Currency->attribute('CurrencyCode', '124'); Let me know how it works. I haven't tested it yet, but I plan on doing it soon. I'll need to have it automatically figure out what zone I'm in to set the currency. I had already found this - but thank you for the reply! Glad to know someone was reading.... Yes - changing it to 124 for CAD works correctly. I'm disappointed that the developer didn't take the time to connect this properly to the osCommerce currency screens. Would have saved a lot of time and sweat.. D
Guest Posted September 10, 2008 Posted September 10, 2008 I had already found this - but thank you for the reply! Glad to know someone was reading.... Yes - changing it to 124 for CAD works correctly. I'm disappointed that the developer didn't take the time to connect this properly to the osCommerce currency screens. Would have saved a lot of time and sweat.. D I just spoke to Chase and apparently even after fixing my Currency Code they don't see the transactions. I get a confirmation from the application that it has been processed and got an email too. Now what????????? grrrrrrrrrrrrrrrrrrrrrrrrrr D
DJStealth Posted September 10, 2008 Posted September 10, 2008 Not sure. I installed the chase plugin, I'm waiting for the merchant IDs, so I have yet to actually test it. Double check your BIN, TraceID and TimeZone code. Also check your Merchant ID's are correct. Also, make sure that you're in the right mode (Test or Production). Other than that, I'm not sure what to tell you, as I haven't actually ran it yet. I wonder if the Canadian system uses different servers, or if there's another BIN for it. Please keep me updated as I also will need to get this going once the merchant ID's are setup.
DJStealth Posted September 10, 2008 Posted September 10, 2008 Also, take a look at http://www.oscommerce.com/forums/index.php?sho...p;hl=paymentech May come in useful
Recommended Posts
Archived
This topic is now archived and is closed to further replies.