Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1
    Join Date
    Jun 2006
    Location
    My family and I live in Brighton, England
    Posts
    982
    Plugin Contributions
    0

    help question The primary exchange rate server (oanda) failed

    Quite frequently oanda fails and the xe update resets that specific currency to 0.00000:

    Warning: The primary exchange rate server (oanda) failed for Euro (EUR) - trying the secondary exchange rate server.
    The exchange rate for Euro (EUR) was updated successfully via xe.

    Warning: The primary exchange rate server (oanda) failed for Canadian Dollar (CAD) - trying the secondary exchange rate server.
    The exchange rate for Canadian Dollar (CAD) was updated successfully via xe.
    This has been an issue for a number of months, forcing me to manually reset each failed currency. Again, this occurs quite often, and on numerous carts.

    Any suggestions on how to correct this?

    Thanks :)

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: The primary exchange rate server (oanda) failed

    Zen Cart and PHP versions?
    .

    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.

  3. #3
    Join Date
    Mar 2005
    Location
    California
    Posts
    663
    Plugin Contributions
    0

    Default Re: The primary exchange rate server (oanda) failed

    I get the same issue, really annoying. I have 6 currencies. When I click the update currencies button two or three currencies are updated as zero. Only one with zero if i'm lucky, that's actually what I shoot for, I keep clicking the update button a few times until it only gives me one error, then I edit that one manually.

    This happens with all ZC version I have 1.3.7 - 1.3.9

    I think the oanda server always has issues. I meant to look into that a while ago, but I keep forgetting because I only update currencies about once a month, but it's very annoying when I have to do it with this problem.

    Which is the file that defines the primary server/

  4. #4
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: The primary exchange rate server (oanda) failed

    If it's any consolation, the code in v1.5 has been updated to add and use ECB as the primary. Just one more good reason to upgrade ;)
    .

    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. #5
    Join Date
    Jun 2006
    Location
    My family and I live in Brighton, England
    Posts
    982
    Plugin Contributions
    0

    Default Re: The primary exchange rate server (oanda) failed

    Quote Originally Posted by DrByte View Post
    Zen Cart and PHP versions?
    Hi Doc, sorry for the delay: It's happening on the following Zen carts:

    Zen Cart 1.3.6 / Database Patch Level: 1.3.6 / PHP Version: 5.2.17 (Zend: 2.2.0)

    And

    Zen Cart 1.3.8a / Patch: 1:: / Database Patch Level: 1.3.8 / PHP Version: 5.2.17 (Zend: 2.2.0) PHP Memory Limit: 256M

    Of course you are right about upgrading, but any chance of a fix for the moment? :)

    Thanks!

  6. #6
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: The primary exchange rate server (oanda) failed

    This is your lucky day ... https://www.zen-cart.com/index.php?m...oducts_id=2039

    (Edit: Tested on a 1.3.9h site successfully)
    Last edited by DrByte; 21 Dec 2011 at 08:18 AM. Reason: post testing details
    .

    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.

  7. #7
    Join Date
    Aug 2009
    Location
    North Idaho, USA
    Posts
    2,008
    Plugin Contributions
    1

    Default Re: The primary exchange rate server (oanda) failed

    Uploaded the 2 files to renamed admin folder.

    Attempt to update currency and it still uses XE and Oanda.

    v1.3.9H
    Rick
    RixStix (dot) com
    aka: ChainWeavers (dot) com

  8. #8
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: The primary exchange rate server (oanda) failed

    With respect I submit that you've put the file for the extra_configures folder in the wrong place, or not uploaded it at all, else that wouldn't be happening.
    .

    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.

  9. #9
    Join Date
    Aug 2009
    Location
    North Idaho, USA
    Posts
    2,008
    Plugin Contributions
    1

    Default Re: The primary exchange rate server (oanda) failed

    Thank you DrByte.

    Sorry. I didn't read the instructions. I just renamed the admin folder and uploaded it 'as-was' to the server assuming that everything was in place.

    This morning, I moved the file in the extra_configures folder from the zip to the extra_configures folder within the admin/includes folder as stated in the instructions.

    Now all is well. Thank you again. All appears to be functioning as intended.
    Rick
    RixStix (dot) com
    aka: ChainWeavers (dot) com

  10. #10
    Join Date
    Jun 2006
    Location
    My family and I live in Brighton, England
    Posts
    982
    Plugin Contributions
    0

    Default Re: The primary exchange rate server (oanda) failed

    Beautiful... Thanks, Doc.

    FYI: I did the same thing as RixStix; I uploaded the files to my first site directly from the mod, not taking the time to read the directions thoroughly. The end result is that the extra_configures folder was misplaced. You might save yourself some future headache by updating the mod so that the extra_configures file is inside the includes file :)

    Thanks again - T

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v155 Warning: The primary exchange rate server (CURRENCY_SERVER_PRIMARY) failed for US
    By oavs in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 14
    Last Post: 18 Sep 2017, 08:24 PM
  2. v155 How to use the "Currency Exchange Rate"
    By su35 in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 2
    Last Post: 21 Jul 2016, 06:11 PM
  3. Can I set the type of currencies and exchange rate?
    By AbbyTan in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 1
    Last Post: 23 Sep 2015, 01:13 PM
  4. v151 Incorrect exchange rate?
    By DML73 in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 4
    Last Post: 30 Apr 2015, 05:11 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR