This project is not covered by Drupal’s security advisory policy.
Summary
The Currency Converter module is a versatile tool for storing and converting currencies. It provides a predefined list of currencies that can be extended through the configuration page. The module updates exchange rates for all stored currencies either via cron or when a currency provider configuration is updated. It offers back-end developers a convenient service for converting prices.
Why Fixer API?
The module currently implements the Fixer API as the default currency provider. The Fixer API is a straightforward and user-friendly option, offering a free plan that is more than sufficient for development purposes. However, the module is designed to support other APIs in
the future, and contributions to add new providers are welcome.
Features
- Currencies overview page.
- Cron update.
- Fixer API integration.
- Convenient service for developers.
Developers need to install the module and follow examples to use it in code. There's also a convenient example block.
Post-Installation
Once the module is installed, go to https://example.com/admin/config/fixer_currencies to set up currencies. Delete the ones you don't need, add new ones (please set up currency ISO codes as ID for currencies. This will be streamlined in the future). After that, obtain a Fixer API key, provide it to the module and save the form. The currencies will be updated. If not, make sure to run a Cron job.
Recommended modules/libraries
Ultimate Cron Job is recommended, though it's not critical for module to function. However, it is best to use it to be able to configure cron behavior.
Similar projects
The Currency module seem to provide similar functionality, though it does not seem to do the same. I need to research it to compare features.
Supporting this Module
Fell free to contact me on LinkedIn, open new issues, contribute to existing ones. And thanks for your attention!
Project information
- Module categories: E-commerce, Integrations
- 1 site reports using this module
- Created by danny-dee on , updated
- Drupal 10 is here!
This module works with Drupal 9, though it was not tested with Drupal 10.
- This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.
Releases
Add help page, D10 compatibility
Development version: 1.0.x-dev updated 21 Sep 2023 at 17:51 UTC