定制 avenyra/module-currency-api 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

avenyra/module-currency-api

最新稳定版本:2.0.0

Composer 安装命令:

composer require avenyra/module-currency-api

包简介

A Magento 2 module that integrates with currencyapi.com to fetch and import real-time currency exchange rates into your Magento store.

README 文档

README

Latest Stable Version Total Downloads License

Avenyra Currency Converter Module

A Magento 2 module that integrates with currencyapi.com to fetch and import real-time currency exchange rates into your Magento store.

Features

  • Real-time Currency Rates: Fetch live exchange rates from currencyapi.com API
  • Batch Processing: Efficiently processes multiple currency conversions in a single API call
  • Magento Integration: Seamlessly integrates with Magento's native currency import system

System Requirements

  • PHP: 8.1+
  • Magento: 2.4.5+

Installation

Via Composer (Recommended)

composer require avenyra/module-currency-api
php bin/magento module:enable Avenyra_CurrencyApi
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento cache:flush

Configuration

Step 1: Obtain API Key

  1. Visit currencyapi.com
  2. Sign up for a free account or choose a paid plan
  3. Generate your API key from the dashboard

Step 2: Configure in Magento Admin

  1. Navigate to Stores > Configuration > General > Currency Setup
  2. Locate the CurrencyApi section
  3. Enter your API key in the API Key field (encrypted automatically)
  4. Set the Connection Timeout in Seconds (recommended: 30 seconds)
  5. Click Save Config

Step 3: Import Currency Rates

  1. Go to Stores > Currency > Currency Rates
  2. Select Currency API (currencyapi.com) from the Import Service dropdown
  3. Click Import to fetch the latest rates

API Pricing & Disclaimer

⚠️ Important: While this module is free to use, the currencyapi.com API service has its own pricing structure:

  • Free Plan: Limited API calls per month (suitable for small stores)
  • Paid Plans: Higher call limits and additional features available

Please review the currencyapi.com pricing page to choose the plan that best fits your store's needs.

Troubleshooting

"No API Key was specified or an invalid API Key was specified"

  • Verify your API key is correctly entered in the admin configuration
  • Ensure the API key is valid and active on currencyapi.com

"We can't retrieve a rate from currencyapi.com for [CURRENCY]"

  • Check if the currency code is supported by currencyapi.com
  • Verify your API plan supports the requested currency pair

Connection Timeout Issues

  • Increase the Connection Timeout in Seconds value in configuration
  • Check your server's internet connectivity
  • Verify currencyapi.com service status

Support

For issues or questions:

  • Check the Magento logs: var/log/system.log
  • Visit currencyapi.com documentation
  • Found a bug or issue? Please open an issue on GitHub.

Author

Avenyra Solutions

统计信息

  • 总下载量: 5
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 5
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 1
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-02-12

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固