I have a site using GBP as default and euro as a second currency.
I have a value of 1 in the value field for both currencies under localizations >> currency meaning if someone has euro set they will buy a voucher for €100. (we have an extension for product prices allowing us to set different price for each currencies so we don't actually use the currency conversion from OP)
The issue is that the voucher is sent as £100 and a user can redeem it as either £100 or €100 which do not have the same value.
If I add a more accurate currency conversion then someone in euro can buy set the voucher value to 100 without knowing it is in sterling and be charged €115 at checkout for instance which is confusing and not what they actually want to do since they want to offer €100
Is there a way or extension that a voucher if sold in euro is actually in euro and only redeemable in euro?
Correct. Which leads to this commit post: https://github.com/opencart/opencart/is ... -712877569 . Read the solution paragraph part which also includes space parts. It's also a good point, however, where it should of state as well that using a service provider may also provide more accuracy with the currency exchange values in the mean time.
The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.
Programmer / Opencart Tester
Off course voucher is core part but things always can be mess with extensions.
As @straightlight mentioned on his github project
Solution: Use a reliable currency service provider which includes multi-language parameters via their REST APIs . The symbol left and right will return in response in the developed extension of your choice while using the auto-currency settings in OC. This will prevent all platform security issues with the spaced strings.
Urgent Questions shoot here: email@example.com
Users browsing this forum: No registered users and 34 guests