Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 5 of 5
  1. #1
    Member TheGardener's Avatar
    Join Date
    Jun 2006
    Posts
    62
    Member #
    13332
    I'm creating an e-commerce site with an order form intended for use by Japanese customers. Prices are in yen, but my merchant account takes payment in dollars. The only solution is to convert the yen amount to dollars before the transaction data is posted to the merchant account's secure site. But of course the exchange rate changes every day. Is there any Javascript library or function that makes it possible to grab the current exchange rate from some site and apply it to the transaction? Hopefully there's something that will allow me to charge yen amounts without much variation... I wouldn't want to post a price of 10,000 yen and then have people get charged for 9,999 or 10,001 yen. Thanks for any help.

  2.  

  3. #2
    WDF Staff smoseley's Avatar
    Join Date
    Mar 2003
    Location
    Boston, MA
    Posts
    9,729
    Member #
    819
    Liked
    205 times
    www.xe.com charges $540 a year for an XML datafeed

    http://www.xe.com/dfs/?AdTracking=le...cc/convert.cgi

    You can specify which currencies you want.

  4. #3
    Senior Member
    Join Date
    Jun 2005
    Location
    Atlanta, GA
    Posts
    4,146
    Member #
    10263
    Liked
    1 times
    There's also Google. Just put in `100 USD in JPY' (or vice versa). It's probably theoretically possible to shove such a Google query into an invisible iframe and use Javascript to extract the conversion factor.

  5. #4
    Member TheGardener's Avatar
    Join Date
    Jun 2006
    Posts
    62
    Member #
    13332
    I just found this site, it's a bit more affordable than Transio's:

    http://dynamicconverter.com/


    Free for sites with under 10,000 monthly transactions.

  6. #5
    WDF Staff smoseley's Avatar
    Join Date
    Mar 2003
    Location
    Boston, MA
    Posts
    9,729
    Member #
    819
    Liked
    205 times
    Looks like a good service! Free for up to 10,000 requests per month... not bad!


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 03:25 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com