GithubHelp home page GithubHelp logo

oxcom / magento2-currency-services Goto Github PK

View Code? Open in Web Editor NEW
9.0 5.0 8.0 76 KB

Add addition external sources into Magento2 to update our currency rates.

License: GNU Lesser General Public License v3.0

PHP 50.69% HTML 49.31%
magento2-module magento2 currency finance rates magento2-extension

magento2-currency-services's Introduction

Magento2 Currency Services

Build Status

This is a module that allows to update currency rates from addition external sources.

List of source services
  1. Finance Google
  2. European Central Bank
  3. Fixer
Notes
  1. Fixer

    [The old, deprecated Fixer API will be discontinued on June 1st, 2018]
    We are happy to announce the complete relaunch of fixer.io into a more 
    stable, more secure, and much more advanced currency & exchange rate 
    conversion API platform. While the core structure of our API remains 
    unchanged, all users of the legacy Fixer API will be required to sign 
    up for a free API access key and perform a few simple changes to their 
    integration. To learn more about the changes that are required.
    

    Be aware that free access to Fixer API has limited functionality.

    You can setup Access Token for Fixer API in your administration panel for Magento.

  2. Finance Google

    New changes were introduces by Google and now it's possible only parse HTML to get required information.

    Be aware about that Google may change it HTML structure at any time

  3. European Central Bank

    The reference rates are usually updated around 16:00 CET on every working 
    day, except on TARGET closing days. They are based on a regular daily 
    concertation procedure between central banks across Europe, which normally 
    takes place at 14:15 CET.
    

    Be aware about low refresh rate

Install

$ composer require oxcom/magento2-currency-services
$ bin/magento module:enable OxCom_MagentoCurrencyServices
$ bin/magento setup:upgrade
$ bin/magento setup:di:compile

Tests

Test will be performed on real sources, so internet connection is required.

$ composer install
$ vendor/bin/phpunit -c Test/phpunit.xml

Some info how to run tests in Travis + Magento Module

magento2-currency-services's People

Contributors

gtlt avatar oxcom avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

magento2-currency-services's Issues

We can't retrieve a rate

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.