Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 22
  1. #11
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Currency conversion

    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.

  2. #12
    Join Date
    Aug 2010
    Posts
    116
    Plugin Contributions
    0

    Default Re: Currency conversion

    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.

  3. #13
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Currency conversion

    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.

  4. #14
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Currency conversion

    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.

  5. #15
    Join Date
    Aug 2010
    Posts
    116
    Plugin Contributions
    0

    Default Re: Currency conversion

    AIM module, which authorize.net told me was the preferred one.

  6. #16
    Join Date
    Aug 2010
    Posts
    116
    Plugin Contributions
    0

    Default Re: Currency conversion

    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.

  7. #17
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Currency conversion

    Try this:

    edit /includes/modules/payment/authorizenet_aim.php:

    At line 361 you should see this:
    Code:
        unset($response);
        $response = $this->_sendRequest($submit_data);
    Add some new code ABOVE that, as shown here:
    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.

  8. #18
    Join Date
    Aug 2010
    Posts
    116
    Plugin Contributions
    0

    Default Re: Currency conversion

    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

  9. #19
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Currency conversion

    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.

  10. #20
    Join Date
    Aug 2010
    Posts
    116
    Plugin Contributions
    0

    Default Re: Currency conversion

    Absolutely!

 

 
Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. Paypal - no currency conversion?
    By grantsja in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 28 Sep 2011, 03:55 AM
  2. Approximate Currency Conversion
    By phycel in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 3
    Last Post: 6 Oct 2007, 09:00 PM
  3. Currency Conversion updates
    By bedfordcomputers in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 2
    Last Post: 10 Nov 2006, 01:35 PM
  4. Currency conversion in Paypal
    By ronwong in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 3
    Last Post: 6 Aug 2006, 04:48 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg