Click here to Skip to main content
15,891,657 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Currency Rates Pin
Jacquers30-Oct-17 4:49
Jacquers30-Oct-17 4:49 
GeneralRe: Currency Rates Pin
ZurdoDev30-Oct-17 5:05
professionalZurdoDev30-Oct-17 5:05 
GeneralRe: Currency Rates Pin
Herbie Mountjoy2-Nov-17 4:05
professionalHerbie Mountjoy2-Nov-17 4:05 
GeneralRe: Currency Rates Pin
R. Giskard Reventlov30-Oct-17 5:29
R. Giskard Reventlov30-Oct-17 5:29 
GeneralRe: Currency Rates Pin
ZurdoDev30-Oct-17 5:39
professionalZurdoDev30-Oct-17 5:39 
GeneralRe: Currency Rates Pin
Nagy Vilmos30-Oct-17 5:53
professionalNagy Vilmos30-Oct-17 5:53 
GeneralRe: Currency Rates Pin
ZurdoDev30-Oct-17 6:03
professionalZurdoDev30-Oct-17 6:03 
GeneralRe: Currency Rates Pin
Jeremy Falcon30-Oct-17 8:15
professionalJeremy Falcon30-Oct-17 8:15 
I don't really have much to offer that Naggy hasn't addressed. But I'll say this... it is possible to get the rate data without a broker's margin, but for that kind of feed you'll need to pay some moola or avoid using a broker for the data altogether and stick with Google or Yahoo et al and just accept the lag those APIs will give you.

Also, if you're doing this for an online business, I'd suggest always, always storing prices in a base currency (even for past orders) and also the currency of the sale along with the exchange rate at that point in history. It'll make your life a lot easier if you only have to think about one currency (preferably the currency you'll be paying taxes in for the company) and deal with exchanges on a case-by-case basis.

Not sure who you'll be processing payments through, but services like PayPal will handle this stuff for you btw. It's a pretty common problem...

ConvertCurrency API Operation - PayPal Developer[^]
Jeremy Falcon

GeneralRe: Currency Rates Pin
ScottotheUnwise31-Oct-17 2:47
ScottotheUnwise31-Oct-17 2:47 
GeneralRe: Currency Rates Pin
ZurdoDev31-Oct-17 2:54
professionalZurdoDev31-Oct-17 2:54 
GeneralRe: Currency Rates Pin
ormonds31-Oct-17 11:00
ormonds31-Oct-17 11:00 
GeneralRe: Currency Rates Pin
ZurdoDev31-Oct-17 14:28
professionalZurdoDev31-Oct-17 14:28 
GeneralRe: Currency Rates Pin
Robert/Not The Pirate1-Nov-17 21:30
professionalRobert/Not The Pirate1-Nov-17 21:30 
GeneralRe: Currency Rates Pin
Member 110156841-Nov-17 21:42
Member 110156841-Nov-17 21:42 
GeneralRe: Currency Rates Pin
Gerry Schmitz2-Nov-17 14:22
mveGerry Schmitz2-Nov-17 14:22 
GeneralJust been filling out a "store survey" online Pin
OriginalGriff30-Oct-17 2:07
mveOriginalGriff30-Oct-17 2:07 
GeneralRe: Just been filling out a "store survey" online Pin
megaadam30-Oct-17 2:41
professionalmegaadam30-Oct-17 2:41 
GeneralCCC Pin
The pompey29-Oct-17 23:39
The pompey29-Oct-17 23:39 
GeneralRe: CCC Pin
PeejayAdams30-Oct-17 0:31
PeejayAdams30-Oct-17 0:31 
GeneralRe: CCC Pin
The pompey30-Oct-17 0:38
The pompey30-Oct-17 0:38 
GeneralRe: CCC Pin
PeejayAdams30-Oct-17 1:09
PeejayAdams30-Oct-17 1:09 
RantLEGACY Pin
AlphaDeltaTheta29-Oct-17 23:20
AlphaDeltaTheta29-Oct-17 23:20 
GeneralRe: LEGACY Pin
raddevus30-Oct-17 2:41
mvaraddevus30-Oct-17 2:41 
GeneralRe: LEGACY Pin
kmoorevs30-Oct-17 6:22
kmoorevs30-Oct-17 6:22 
GeneralRe: LEGACY Pin
Slacker00730-Oct-17 2:47
professionalSlacker00730-Oct-17 2:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.