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

        cody Cody Phillips (Inactive) created issue -
        admin Paul Phillips made changes -
        Field Original Value New Value
        Fix Version/s 3.2.0-b2 [ 10501 ]
        Fix Version/s 3.2.0-b1 [ 10002 ]
        cody Cody Phillips (Inactive) made changes -
        Fix Version/s 3.3.0 [ 10100 ]
        Fix Version/s 3.2.0-b2 [ 10501 ]
        admin Paul Phillips made changes -
        Fix Version/s 3.3.0-b2 [ 10507 ]
        Fix Version/s 3.3.0-b1 [ 10100 ]
        admin Paul Phillips made changes -
        Fix Version/s 3.3.0 [ 10508 ]
        Fix Version/s 3.3.0-b2 [ 10507 ]
        admin Paul Phillips made changes -
        Fix Version/s 3.4.0 [ 10400 ]
        Fix Version/s 3.3.0 [ 10508 ]
        admin Paul Phillips made changes -
        Fix Version/s 3.4.0 [ 10400 ]
        tyson Tyson Phillips (Inactive) made changes -
        Fix Version/s 4.0.0 [ 10603 ]
        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.
        admin Paul Phillips made changes -
        Security Private [ 10000 ]
        tyson Tyson Phillips (Inactive) made changes -
        Assignee Cody Phillips [ cody ] Tyson Phillips [ tyson ]
        Automated transition triggered when Tyson Phillips (Inactive) created a branch in Stash -
        Status Open [ 1 ] In Progress [ 3 ]
        Automated transition triggered when Tyson Phillips (Inactive) created pull request #127 in Stash -
        Status In Progress [ 3 ] In Review [ 5 ]
        Resolution Fixed [ 1 ]
        Automated transition triggered when Cody Phillips (Inactive) merged pull request #127 in Stash -
        Status In Review [ 5 ] Closed [ 6 ]

          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