SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    SitePoint Evangelist
    Join Date
    Nov 2003
    Location
    Brisbane, Australia
    Posts
    408
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Real-time currency converstion

    Hi

    I am updating my website so it can tell where someone is and charge them in the correct currency.

    That part is basically done but I can only charge in AUD with my current bank etc.

    I am going to add to the terms that all payments will be converted and charged in AUD but I need to know if there is a tool I can integrate into my order form.

    Basically the way I see it work is that someone will come to the site and see the price GBP49 or USD49 or EUR49 or NZD49 etc and when they click to pay my website will query somewhere to find out how much that is in AUD and then process that amount.

    What I need to know is where the somewhere might be?

    Thanks

    Murray

  2. #2
    SitePoint Zealot 2ndmouse's Avatar
    Join Date
    Jan 2007
    Location
    West London
    Posts
    196
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sorry, but that sounds a little off-putting. Why don't you display both prices up front, so there's no confusion. The main price would be AUD and the conversion (approx) would be in local currency. This would save the user getting a currency surprise when they use the form. By the way, how do you determine local currency if the user has reached your site via proxy server?
    Detect file changes remotely. SimpleSiteAudit is an early
    warning anti-hacker system which sends an alert on detection.

    PHP Find Orphan Files - Finds all the unreferenced files on your site.

  3. #3
    SitePoint Evangelist
    Join Date
    Nov 2003
    Location
    Brisbane, Australia
    Posts
    408
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi

    What I said was just an overview and all of that side is in hand... can you help with the actual conversion?

    mrmbarnes

  4. #4
    SitePoint Zealot 2ndmouse's Avatar
    Join Date
    Jan 2007
    Location
    West London
    Posts
    196
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This appears to be what you are looking for - very easy to implement by the looks of it.
    Detect file changes remotely. SimpleSiteAudit is an early
    warning anti-hacker system which sends an alert on detection.

    PHP Find Orphan Files - Finds all the unreferenced files on your site.

  5. #5
    SitePoint Wizard silver trophybronze trophy Cups's Avatar
    Join Date
    Oct 2006
    Location
    France, deep rural.
    Posts
    6,869
    Mentioned
    17 Post(s)
    Tagged
    1 Thread(s)
    Alternative: google currency converter api php

    OT

    I keep typing ghoogle - that's twice today, spooky or Freudian slip?

  6. #6
    SitePoint Guru dale_burrell's Avatar
    Join Date
    Aug 2002
    Location
    Wellington, New Zealand
    Posts
    861
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Bit late I know, but I've just finished developing a solution to this problem at http://currency.creative-dreaming.com - disclaimer, this is my product which I am selling, but I do provide all the information necessary to do it yourself.

    Here is another one https://openexchangerates.org/signup

    ps - its worth pointing out that both google and yahoo exchange rates aren't allowed to be used for commercial use.
    If you aren't living life on the edge
    - you're taking up too much space
    Creative Dreaming Ltd / Ask The Local / Amanzi Travel


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •