Are you using the AIM module?
Are you using the AIM module?
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
My my. This gets better and better as the day goes on.
Interesting because Cybersource said they will be the gateway for either Chase or First.
Okay, back to the question at hand. What is entailed in that piece of code? How long do you think it would take? Did you write the authorize.net module? If not, who might I contact? Obviously, that person would be the most familiar with the easiest way to accomplish the task.
There are 3 Authorize.net modules built-in to Zen Cart. Which one are you talking about?
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Further, the Authorize.net modules don't support Maestro/Switch/Solo cards which are common in the UK.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
AIM module, which authorize.net told me was the preferred one.
Also, we use the standard US cards, Visa MC Amex, not the foreign ones.
Additionally, all pricing on the cart is entered in USD, so if somehow, just before the packet is sent off to authorize.net, the system can grab the variable in the default USD, it seems like an easy fix... But I am not a programmer and don't really want to make unfounded assumptions. It just SEEMS like a simple solution.
I look forward to hearing from you.
Try this:
edit /includes/modules/payment/authorizenet_aim.php:
At line 361 you should see this:Add some new code ABOVE that, as shown here:Code:unset($response); $response = $this->_sendRequest($submit_data);Code:if ($order->info['currency'] != 'USD') { global $currencies; $submit_data['x_amount'] = number_format($order->info['total'] * $currencies->get_value('USD'), 2); $submit_data['x_currency_code'] = 'USD'; unset($submit_data['x_tax'], $submit_data['x_freight']); } unset($response); $response = $this->_sendRequest($submit_data);
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
DrByte,
Thank you. Thank You. Thank you. Thank You. Thank you. Thank You. Thank you. Thank You. Thank you so very much.
It appears to be working perfectly, right down to the e-mail confirmations still showing the GBP or Euro. I just can't thank you enough.
Hopefully others will benefit from this thread and your help.
Last edited by Euonym; 29 Sep 2010 at 08:34 PM. Reason: style adjustment
Glad it helped. Feel free to share the love: www.zen-cart.com/donate
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Absolutely!