Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
4857 Lượt xem

I have installed currency_rate_update module and trying to update EUR,USD,COP currencies.

I am using European central bank services.  While running cron job, giving error "Unsupported currency COP" error. If i remove COP from the currencies list then it's updating well. So i would come to know European central bank service can't update "COP" currency. I have change the service to "bank of canada", this also raising an error "Exchange data format error for Bank of Canada - EUR. Please check provider data format and/or source code. " Can any one please tell me the solution for this. My base currency is USD and company currency is USD. 

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

Finally got the solution, few problems are there with existing module.  configure

Sevice: Bank of canada

Base currency: CAD

And do the below changes:

Replace if dom.bozo and dom.status <> 404: with  if dom.bozo and dom.status == 404:

Replace (dom.entries[0].cb_targetcurrency == curr): with (dom.entries[0].cb_targetcurrency == curr+'_NOON'):

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 10 22
6657
0
thg 12 20
5230
4
thg 5 17
3481
1
thg 3 15
4152
1
thg 9 20
4494