Version 8.8.0 of Coupon Affiliates is now available!
This one is mostly for stores that sell in more than one currency. If you use a multi-currency plugin such as CURCY or FOX, Coupon Affiliates (PRO) can now copy its exchange rates once a day. You no longer need to type in conversion rates yourself or set up an exchange rate API.
We also went through how commission is converted for orders in other currencies, and fixed a number of problems. Some of them affected the commission figures shown to you and your affiliates, so please read that section if you take orders in more than one currency.
The rest of the release is a fix for performance bonuses with several tiers, clearer messages on the affiliate registration form, and layout fixes for the affiliate portal on tablets and phones.
Sync conversion rates from your multi-currency plugin (PRO)
When an order is placed in another currency, Coupon Affiliates converts it into your base store currency before it works out commission and statistics. It does this with the conversion rates on the Settings > Currencies tab. Until now, you had to enter those rates by hand, or fetch them from an exchange rate API.
Your multi-currency plugin already keeps a set of exchange rates, and your customers are charged with them. Coupon Affiliates can now use the same rates. There is a new “Sync Rates From Your Currency Plugin” section on the Currencies tab. It detects the multi-currency plugin on your site and shows a “Sync conversion rates daily from…” option for it.

These plugins are supported:
- CURCY
- FOX (WOOCS)
- WPML Multicurrency (WCML)
- WooPayments Multi-Currency
- Aelia Currency Switcher
- YayCurrency
- Price Based on Country
When you turn the option on, the rates are copied straight away, and then once a day after that. They include any exchange fee your currency plugin adds, so commission is worked out from the same figures your customers paid. If your currency plugin has a currency that is not in the Coupon Affiliates list yet, it is added for you.
There is also a “Sync now” button, for when you have just changed a rate and don’t want to wait for the next daily sync. Under the option, a status line shows when the last sync ran and which currencies were updated or added.
While sync is on, the conversion rates on the Currencies tab can’t be edited, and the exchange rate API is not used. This stops a rate you typed in from being overwritten by the next sync.
Each order keeps the rate it was placed with
Exchange rates change from day to day. While sync is on, each order saves the conversion rate it was placed with. If the rate is different next week, the commission your affiliate already earned on that order stays the same.
Learn more: Multi-Currency Support & Setup
Add and remove currencies with a button
The “Number of Extra Currencies” setting has been removed. You had to pick a number first, and the plugin then showed that many currency boxes, pre-filled with starter currencies.
There is now an “Add New Currency” button under the list, and every currency has its own “Remove” button. A new currency starts blank. This change is in the free version too.

Multi-currency commission fixes
These fixes apply to orders placed in a currency other than your base store currency:
- “Save the conversion rate for each order” replaced the saved rate. The rate was saved again every time the order changed status or an admin saved the order. It now keeps the rate the order was placed with.
- Orders with no rate set could never be converted. An order in a currency with no conversion rate was saved with a rate of 1. This no longer happens.
- Commission was converted twice in some places. This affected the admin “Referrals” list and its CSV export, and fixed commission per product in the product breakdowns. Refunded totals in the “Referrals” list are now converted too.
- “Maximum commission per order” used the order’s currency. For orders in other currencies, the limit is now applied in your base currency.
- Some totals were shown in the order’s currency. The admin order commission breakdown, order tax on the affiliate dashboard, shipping totals and the “View Affiliate” order totals are now in the base currency.
- A currency switcher could change the base currency. The shopper’s chosen currency can no longer count as the store’s base currency.
And for stores using the exchange rate API (PRO):
- A failed API request no longer sets every rate to 1. A currency that is missing from the API’s reply keeps its current rate, and the API’s error message is now shown.
- The twice-daily rate update now runs with an APILayer key, and when an API key was saved without choosing a provider.
- The “Get Rates” button is now protected against cross-site requests.
Two smaller currency fixes are also in PRO. The currency symbol on charts now shows for every currency (before, it only showed for USD and GBP). And the “Fixed Amount” settings for Multi-Level Affiliates show your store’s currency symbol in place of “$”.
Performance bonuses with several tiers (PRO)
With performance bonuses, you can set up several “Set new commission rates” bonuses as tiers. For example, an affiliate could move to 15% after 50 sales and 20% after 100 sales.
One large order can pass more than one tier at the same time. When that happens, the highest tier now sets the rates. We also fixed a case where a lower tier, earned again later, lowered the rates an affiliate already had.
Clearer messages on the registration form
Some people apply with the email address of an account that already exists, most often because they are already a customer of the store. The registration form now tells them to log in with their existing password and then apply. If you use the affiliate portal, the “Login to your account” link takes them to the portal. Before, it went to the “My Account” page.
Two more registration fixes:
- If the portal is on and no “Registration Page” is set, a rejected application now shows the reason above the form. Before, the applicant was redirected to the login page.
- The registration form in the portal now shows an error when the request itself fails. This can happen with an expired session on a cached page.
Affiliate portal fixes for tablets and phones
This release fixes several layout problems in the affiliate portal and dashboard on smaller screens:
- On tablets (769-1024px wide), the portal sidebar is narrower and the page padding is smaller. This leaves more room for the content.
- Tables shown as cards on tablets and phones now fill the full width, so labels no longer run into the values.
- (PRO) The performance bonus boxes no longer run past the edge of the portal on tablets.
- On phones, a long coupon code in the portal header moves to its own row. Before, it wrapped under its icon.
- On phones, the campaign “Add New” button no longer pushes the “Referral URL” tab off screen (Classic theme).
- Some themes add their own markup to every page, such as popups and off-canvas menus. This markup was showing unstyled at the bottom of the portal, and is now removed.
In the plugin settings, help text and section descriptions now use the full width of each settings card.
For developers
- A new
wcusage_currency_sync_providersfilter lets you add another multi-currency plugin to sync rates from. There is also awcusage_currency_sync_ratesfilter for the rates about to be saved, and awcusage_currency_rates_syncedaction that runs after each sync. - A new
wcusage_portal_remove_theme_footer_outputfilter. Return false to keep what your theme adds throughwp_footeron the affiliate portal pages.
Full Changelog
- New: (PRO) Multi-Currency > New “Sync conversion rates daily from…” option on the “Currencies” settings tab. The conversion rates are taken from the exchange rates your multi-currency plugin already keeps (including any exchange fee it adds), once a day and straight away when the option is turned on, and there is a “Sync now” button. Currencies the plugin has that are not listed yet are added. Supports CURCY, FOX (WOOCS), WPML Multicurrency (WCML), WooPayments Multi-Currency, Aelia Currency Switcher, YayCurrency and Price Based on Country. While it is on, each order keeps the conversion rate it was placed with, so a change in the rates does not change commission already earned.
- Tweak: Multi-Currency > The “Number of Extra Currencies” setting is replaced with an “Add New Currency” button, and each currency has a “Remove” button. A new currency starts blank instead of being pre-filled with one of the starter currencies.
- Tweak: Registration > Applying with the email address of an account that already exists (most often a customer of the store) now says to log in with the existing password and then apply. The “Login to your account” link goes to the affiliate portal when it is on, instead of the “My Account” page.
- Tweak: Affiliate Portal > On tablets (769-1024px wide), the sidebar is narrower and the page padding smaller, leaving more room for the content.
- Tweak: Settings > Help text and section descriptions now use the full width of the settings card.
- Fix: (PRO) Performance Bonuses > When one order passes several “Set new commission rates” bonuses, the highest tier now sets the rates, and a lower tier earned again later no longer lowers them.
- Fix: Registration > With the portal on and no “Registration Page” set, a rejected application now shows the reason above the form instead of redirecting to the login page.
- Fix: Affiliate Portal > The registration form now shows an error when the request itself fails, such as an expired session on a cached page.
- Fix: Affiliate Dashboard > Tables shown as cards on tablets and phones now fill the table’s width, so labels no longer run into the values.
- Fix: (PRO) Performance Bonuses > The bonus boxes no longer run past the edge of the affiliate portal on tablets.
- Fix: Affiliate Portal > The campaign “Add New” button no longer pushes the “Referral URL” tab off screen on phones (Classic theme).
- Fix: Affiliate Portal > On phones, a long coupon code in the header now moves to its own row instead of wrapping under its icon.
- Fix: Affiliate Portal > Markup the theme adds to every page (popups, off-canvas menus) is no longer shown unstyled at the bottom of the portal.
- Fix: Multi-Currency > “Save the conversion rate for each order” now keeps the rate the order was placed with, instead of replacing it on every status change or admin save.
- Fix: Multi-Currency > An order in a currency with no rate set is no longer saved with a rate of 1, which stopped it ever being converted.
- Fix: Multi-Currency > “Maximum commission per order” is now applied in the base currency for orders in other currencies.
- Fix: Multi-Currency > Admin “Referrals” list and CSV export: commission is no longer converted twice, and refunded totals are now converted.
- Fix: Multi-Currency > Fixed commission per product is no longer converted twice in the product breakdowns.
- Fix: Multi-Currency > The admin order commission breakdown, order tax on the affiliate dashboard, shipping totals and “View Affiliate” order totals are now in the base currency.
- Fix: Multi-Currency > A currency switcher can no longer make the shopper’s currency count as the store’s base currency.
- Fix: (PRO) Multi-Currency > A failed exchange rate API request no longer sets every rate to 1, and a currency missing from the reply keeps its rate. The API’s error is now shown.
- Fix: (PRO) Multi-Currency > The twice-daily rate update now runs with an APILayer key, and when an API key was saved without choosing a provider.
- Fix: (PRO) Multi-Currency > The “Get Rates” button is now protected against cross-site requests.
- Fix: (PRO) Charts > The chart currency symbol now shows for every currency, not only USD and GBP.
- Fix: (PRO) Multi-Level Affiliates > The “Fixed Amount” settings now show the store’s currency symbol instead of “$”.
- Dev: New filter “wcusage_portal_remove_theme_footer_output”: return false to keep what the site’s theme adds through “wp_footer” on the affiliate portal pages.
- Dev: New filter “wcusage_currency_sync_providers” to add another multi-currency plugin to sync rates from, filter “wcusage_currency_sync_rates” for the rates about to be saved, and action “wcusage_currency_rates_synced” after each sync.
Update now
Update from Dashboard > Updates in wp-admin as usual. You will find the new sync option under Coupon Affiliates > Settings > Currencies.
If your store uses a multi-currency plugin that is not on the supported list, please get in touch and tell us which one. And if any commission figures look wrong after updating, send us the details so we can take a look.
Elliot Sowersby is a WordPress developer from Yorkshire, United Kingdom. He is the founder and lead developer of Coupon Affiliates and RelyWP.


Leave a Reply