• Is there any way to automatically fetch currency exchange rates with this plugin on a wordpress server with WP_HTTP_BLOCK_EXTERNAL enabled?

    For security reasons, our woocommerce shop’s server has been hardened with a firewall that blocks the web server from being able to initiate connections through the OUTPUT chain. This makes it so the web server can serve requests; it cannot initiate requests.

    Basically what I’d like to do is write a system-level cron job that automatically fetches currency data and writes it to a file somewhere that’s accessible to the wordpress website.

    Does this plugin support a way to automatically import currency data from a file on a recurring basis (eg every hour)?

Viewing 1 replies (of 1 total)
  • Plugin Support Nicolas V.

    (@nicolasviallet)

    Hi,

    Thanks for reaching out.

    WCML does not include a built-in option. As you mentioned, automatic exchange-rates rely on fetching rates from external providers, so it will not work when HTTP requests are blocked.

    That said, we provide the wcml_exchange_rates filter, which you can use to pass custom exchange rates against the default currency.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.