We have received reports of incorrect discount percentage calculations when customers select certain currencies in our app. Specifically, the configured discount rule of 40% is accurate for the United Kingdom; however, when switching to other currencies like Australia and Canada, the displayed discounts are incorrect, showing 26% and 28%, respectively.
We suspect that this issue may be related to currency conversions. Our app relies on the
window.Shopify.currency.rate
provided by Shopify to determine currency rates. It is possible that the rates being provided are either incorrect or inaccurate, causing the discount percentages to display incorrectly.