Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-1108

Updated Google Finance exchange rate processor

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2.0-b1
    • Fix Version/s: 4.0.0-b1
    • Component/s: None
    • Labels:
      None

      Description

      The current Google Finance exchange rate processor uses http://rate-exchange.appsport.com/currency. This API acts as a proxy for the google API and is consistently down due to google quota limits.

      Instead we should use google directly via: https://www.google.com/finance/converter?a=1&from=USD&to=CAD

      Parameters:

      • a = The amount
      • from = The from currency ISO
      • to = The to currency ISO

      Returned result is HTML, and the converted value can be obtained by parsing it out from:

      <div id="currency_converter_result">1 USD = <span class="bld">1.1194 CAD</span>
      <input type="submit" value="Convert">
      </div>
      

        Activity

        Hide
        tyson Tyson Phillips (Inactive) added a comment -

        The current exchange rate processor is no longer available at all, so it will need to be updated for v4.

        Show
        tyson Tyson Phillips (Inactive) added a comment - The current exchange rate processor is no longer available at all, so it will need to be updated for v4.

          People

          • Assignee:
            tyson Tyson Phillips (Inactive)
            Reporter:
            cody Cody Phillips (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              15/Sep/16