Fog Creek Software
Discussion Board




Currency Conversion

We're trying to automatically convert currency from British pounds to US dollars so that we can then pass it to our payment provider, which only works in US dollars.

I'm looking for a simple web service or the like that I can call when I need to do the conversion.

Does anyone know of any good conversion services?

Thanks.

Richard
Thursday, March 11, 2004

Go to our shop and look next to the USD prices listed.. There is a link to convert our prices...

https://shop.fogcreek.com

Michael Pryor
Fog Creek Software
Thursday, March 11, 2004

Try  http://uk.finance.yahoo.com/m3?u .

a cynic writes...
Thursday, March 11, 2004

Hmm... I'm more looking for something where the user doesn't need to see the conversion and I don't have to parse a webpage looking for the dollar amount.

Richard
Thursday, March 11, 2004

Have a currency conversion table and populate it with a feed from oanda.com, xe.com (or similar). You'll probably have to write an import routine and the data won't be current (a few days old maybe), but its fine for most retail applications.

Justin
Thursday, March 11, 2004

Addendum: "table" is a database table and you perform a lookup based on what is typed in (as opposed to html table).

Justin
Thursday, March 11, 2004

xe.com's figures are reasonably up to date I believe. How you get it to populate your app I don't know.

Stephen Jones
Thursday, March 11, 2004

I wouldn't try and be real time with currency conversion the rate charged depends on that charged by the credit card company and not whatever price.  Unless you're being silly enough to charge in another currency.

If you have currency accounts then you can buffer yourself against the slings and arrows of outrageous currency market fluctuations but otherwise price only in your own home currency.

If you want to give an indication in dollars as to the sterling price make it clear that its approximate.  If you don't think you can be bitten in the bum by this kind of thing its worth realising that sterling lost more than a cent against the dollar this week in one trading day. 

Simon Lucy
Thursday, March 11, 2004

Look up the Currency Converter Web Service @

http://www.daml.ecs.soton.ac.uk/services/SotonCurrencyConverter.html

Code Monkey
Thursday, March 11, 2004

*  Recent Topics

*  Fog Creek Home