Hi,
Can you provide an example of how you’re doing it?
Thanks @dartiss for the quick reply! We use a shortcode like this in a template:
[convert number='100' from="usd" to="ang"]
100 usd naar ang should be 178 instead of a different amount.
Within code (with Advanced Custom Fields):
<?php echo do_shortcode( '[convert number=' . $usd_prijs . ' from="usd" to="ang"]' ); ?>
Thanks for your help.
If, instead of using code, you put that shortcode directly into a post, do you get the same, incorrect amount? What is that amount, btw?
Hi David, when using shortcode directly on a page or in a template, the result is the same:
100 usd naar ang = 182
And it should be 178.
I don’t know why.
Try for example xe.com you can check it is not 182.
Okay, in that case, this isn’t an issue with the plugin. Looking at the feed from the Open Exchange Rates site, it is showing the current exchange rate as 1.819413 ANG to the dollar.
If you believe this is wrong, you’ll need to speak to them about it – https://openexchangerates.org/.
Thanks for reply David. Is it possible to choose a different exchange?