avenyra/module-currency-api 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

avenyra/module-currency-api

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

avenyra/module-currency-api 适用场景与选型建议

avenyra/module-currency-api 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 6 次下载、GitHub Stars 达 3, 最近一次更新时间为 2026 年 02 月 12 日, 在 PHP 生态内属于活跃度较高的组件。

我们在过去多个企业项目中使用过 avenyra/module-currency-api 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 avenyra/module-currency-api 我们能提供哪些服务?
定制开发 / 二次开发

基于 avenyra/module-currency-api 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

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

GitHub 信息

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

其他信息

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