Plugin Name: FX Rate Sync
Description: Automatically updates currency rates for PipraPay. Supports ExchangeRate-API (v6) and Free Currency Exchange Rates API (jsDelivr) & auto update 4x every day at 00:01 /06:01 / 12:01 /18:01. (server time) using ExchangeRate-API or jsDelivr-API.
Version: 1.0.0
Author: Fattain Naime
License: GPL-2.0+
Requires PHP: 7.4+
Requires at least PipraPay version: 1.0.0
Plugin URI: GitHub Repository
- Daily Auto Update – Automatically updates all currency conversion rates every day after 6 hours (site timezone).
- Instant Update – Click "Force Update" to refresh rates immediately.
- Base Currency Aware – Uses PipraPay's default currency as the base (rate = 1).
- ExchangeRate-API Integration – Pulls rates securely from ExchangeRate-API and Free Currency Exchange Rates API (jsDelivr).
- Cron Integration – Works with PipraPay's built-in cron system (
?cron).
- Download the plugin from the latest release.
- Upload the plugin folder to your PipraPay
Pluginsection. - Activate the plugin from PipraPay’s module settings.
- Go to Admin Dashboard → Module → Currency Rate Auto Update.
- Enter your API key from ExchangeRate-API and click Save Changes.
- To update instantly, click Force Update.
- Get your default currency.
- Sets that currency’s rate to
1.0000. - Fetches fresh rates from ExchangeRate-API.
- Updates
PipraPay Currencyfor all currencies found. - Skips base currency in API updates.
- Runs daily at
00:01automatically via PipraPay cron:curl -s https://your-site.com/?cron >/dev/null 2>&1