Jump to content
ISH

Exchange Rates Update Failed

Recommended Posts

On 2/6/2020 at 7:50 AM, Mohsin Amer said:

Thanks for your swift reply, my versions are:

 

PHP: 5.6.40

WHMCS: v7.4.2

 

Hotfix already installed and tried them all none works.

Any help yet please?

Share this post


Link to post
Share on other sites

Hi @Mohsin Amer,

You need to ensure that your server can establish a cURL connection to the exchange rate endpoint at https://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml:
 

$ curl https://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml
<?xml version="1.0" encoding="UTF-8"?>
<gesmes:Envelope xmlns:gesmes="http://www.gesmes.org/xml/2002-08-01" xmlns="http://www.ecb.int/vocabulary/2002-08-01/eurofxref">
    <gesmes:subject>Reference rates</gesmes:subject>
    <gesmes:Sender>
        <gesmes:name>European Central Bank</gesmes:name>
    </gesmes:Sender>
    <Cube>
        <Cube time='2020-02-20'>
            <Cube currency='USD' rate='1.0790'/>
            <Cube currency='JPY' rate='120.86'/>
            <Cube currency='BGN' rate='1.9558'/>
            <Cube currency='CZK' rate='25.037'/>
            <Cube currency='DKK' rate='7.4681'/>
            <Cube currency='GBP' rate='0.83840'/>
            <Cube currency='HUF' rate='338.00'/>
            <Cube currency='PLN' rate='4.2825'/>
            <Cube currency='RON' rate='4.7979'/>
            <Cube currency='SEK' rate='10.5985'/>
            <Cube currency='CHF' rate='1.0616'/>
            <Cube currency='ISK' rate='138.10'/>
            <Cube currency='NOK' rate='10.0455'/>
            <Cube currency='HRK' rate='7.4495'/>
            <Cube currency='RUB' rate='68.8060'/>
            <Cube currency='TRY' rate='6.5806'/>
            <Cube currency='AUD' rate='1.6294'/>
            <Cube currency='BRL' rate='4.7341'/>
            <Cube currency='CAD' rate='1.4304'/>
            <Cube currency='CNY' rate='7.5787'/>
            <Cube currency='HKD' rate='8.3960'/>
            <Cube currency='IDR' rate='14790.39'/>
            <Cube currency='ILS' rate='3.7009'/>
            <Cube currency='INR' rate='77.2745'/>
            <Cube currency='KRW' rate='1301.79'/>
            <Cube currency='MXN' rate='20.1685'/>
            <Cube currency='MYR' rate='4.5145'/>
            <Cube currency='NZD' rate='1.7046'/>
            <Cube currency='PHP' rate='54.725'/>
            <Cube currency='SGD' rate='1.5111'/>
            <Cube currency='THB' rate='33.924'/>
            <Cube currency='ZAR' rate='16.2966'/>
        </Cube>
    </Cube>

 

Additionally, version 7.4 reached End of Life in November 2018, so I would recommend updating to a current version: https://docs.whmcs.com/Updating

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated