• Resolved Damiaan van Vliet

    (@damnsharp)


    Hi support,
    What can I do when the converted currency is not correct?
    From ANG to USD conversion goes wrong.
    1 USD = 1.78 ANG

    Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor David Artiss

    (@dartiss)

    Hi,

    Can you provide an example of how you’re doing it?

    Thread Starter Damiaan van Vliet

    (@damnsharp)

    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.

    Plugin Contributor David Artiss

    (@dartiss)

    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?

    Thread Starter Damiaan van Vliet

    (@damnsharp)

    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.

    Plugin Contributor David Artiss

    (@dartiss)

    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/.

    Thread Starter Damiaan van Vliet

    (@damnsharp)

    Thanks for reply David. Is it possible to choose a different exchange?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘conversion not accurate’ is closed to new replies.