Exchange rates last updated on
= $exchange_rates_last_updated ?>
Find the supported currencies and correct currency codes on
fixer.io
For improved performance keep only the currencies you use.
query($sql);
if ($result) {
$row = $result->fetchArray(SQLITE3_ASSOC);
if ($row) {
$apiKey = $row['api_key'];
}
}
?>
Fixer API Key
If you use multiple currencies, and want accurate statistics and sorting on the subscriptions,
a FREE API Key from Fixer is necessary.
Get your key at:
https://fixer.io/
Display settings
>
>
>
Experimental settings
>
Experimental settings will probably not work perfectly.
Payment Methods
query('SELECT id FROM payment_methods WHERE id IN (SELECT DISTINCT payment_method_id FROM subscriptions)');
$paymentsInUse = [];
while ($row = $paymentsInUseQuery->fetchArray(SQLITE3_ASSOC)) {
$paymentsInUse[] = $row['id'];
}
foreach ($payments as $payment) {
$inUse = in_array($payment['id'], $paymentsInUse);
?>