shopgo/currency-import-services 1.0.0

A module that adds Yahoo! Finance and Google Finance currency rate import services to Magento 2.0.

Type

magento2-module

License

OSL-3.0, AFL-3.0

Requires
Requires (dev)

None

Suggests

None

Provides

None

Conflicts

None

Replaces

None

Currency Import Services

Dependency Status GitHub version

Contents

Synopsis

This module adds additional currency rate import services to Magento 2.

Overview

With currency import services module, you can import currencies rates with different services such as Yahoo Finance and Google Finance. This is very important, because Magento 2.0's default and only currency import service WebserviceX tends to go down from time to time. And sometimes, it returns empty results for some currencies.

Installation

Below, you can find two ways to install the currency import services module. With the release of Magento 2.0, you'll also be able to install modules using the Magento Marketplaces.

1. Install via Composer

First, make sure that Composer is installed: https://getcomposer.org/doc/00-intro.md

Add the currency import services module repository's URL:

php <your Composer install dir>/composer.phar config repositories.shopgo-cis vcs https://github.com/shopgo/currency-import-services

Run Composer require to install it:

php <your Composer install dir>/composer.phar require shopgo/currency-import-services:~1.0

2. Clone the currency-import-services repository

Clone the currency-import-services repository using either the HTTPS or SSH protocols.

2.1. Copy the code

Create a directory for the currency import services module and copy the cloned repository contents to it:

mkdir -p <your Magento install dir>/app/code/ShopGo/CurrencyImportServices
cp -R <currency-import-services clone dir>/* <your Magento install dir>/app/code/ShopGo/CurrencyImportServices

Update the Magento database and schema

If you added the module to an existing Magento installation, run the following command:

php <your Magento install dir>/bin/magento setup:upgrade

Verify the module is installed and enabled

Enter the following command:

php <your Magento install dir>/bin/magento module:status

The following confirms you installed the module correctly, and that it's enabled:

example
    List of enabled modules:
    ...
    ShopGo_CurrencyImportServices
    ...

Tests

Unit tests can be found in Magento 2 app/code/Magento/Directory/Test/Unit directory.

Contributors

Ammar (ammar@shopgo.me)

License

Open Source License