Comments (11)
from www.freedomsponsors.org.
Anyone knows where I can get currency exchange rates ?
/cc @mvallebr
from www.freedomsponsors.org.
I think this is what you want, but not sure: https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_api_APConvertCurrency
from www.freedomsponsors.org.
Will test it later, tks @mvallebr !
from www.freedomsponsors.org.
Tested it.
baseAmountList=[{'currency':{'code':'BRL', 'amount':1.00}}]
convertToCurrencyList=[{'currencyCode':'USD'}]
r = paypal.convert_currency(baseAmountList=baseAmountList,
convertToCurrencyList=convertToCurrencyList)
r
{'estimatedAmountTable': {'currencyConversionList': [{'baseAmount': {'amount': '1.0',
'code': 'USD'},
'currencyList': {'currency': [{'amount': '2.74', 'code': 'BRL'}]}}]},
'responseEnvelope': {'ack': 'Success',
'build': '3988550',
'correlationId': '37fdfa0c5b56f',
'timestamp': '2012-10-21T11:46:29.567-07:00'}}
(Meaning 1USD = 2.74BRL)
If we invert currencies paypal will say
1BRL = 0.34USD
And 1 / 2.74 = 0.364
"Real" sources say 1USD = 2.09BRL.
I guess I can't use Paypal then? 👎
from www.freedomsponsors.org.
Asked on Stackoverflow --> http://stackoverflow.com/questions/13002511/paypal-convertcurrency-api-gives-a-wrong-usd-brl-rate-why
from www.freedomsponsors.org.
Also asked in the Brazilian forums --> https://www.paypal-brasil.com.br/forum/index.php?/topic/206-conversao-usd-brl-da-um-resultado-absurdo-274/
from www.freedomsponsors.org.
Goodbye paypal, Hello Google
http://www.google.com/ig/calculator?hl=en&q=1USD%3D%3FBRL
from www.freedomsponsors.org.
And hello Yahoo!
http://download.finance.yahoo.com/d/quotes.csv?s=USDBRL=X&f=sl1d1t1ba&e=.csv
from www.freedomsponsors.org.
More details about this
http://stackoverflow.com/questions/1393385/currency-exchange-rates-for-paypal
http://stackoverflow.com/questions/181990/programmatically-access-currency-exchange-rates
http://stackoverflow.com/questions/1789699/php-example-for-paypal-adaptive-payments-convertcurrency-api
from www.freedomsponsors.org.
With this, I'm calling this closed
http://blog.freedomsponsors.org/a-note-to-brazilians/
from www.freedomsponsors.org.
Related Issues (20)
- Contributor agreement HOT 2
- Validate receiver currency before allowing payments in BTC
- EXPIRED count as OPEN in User Stats
- First integration with fsstatic2 HOT 2
- Build our new (mobile first) design HOT 1
- "Copy text and open original issue" link doesn't work for me
- Unsubscribe from email HOT 6
- Add a captcha on signup HOT 2
- [new feature] change username
- filter sponsored issues by language, tag or technology
- "My issues" page is wrong in some cache HOT 1
- Copyright notices out of date HOT 1
- How to use freedomsponsors on Heroku?
- Can this be adapted and used to crowdfund persons (donation for personal projects) ? HOT 1
- python-social-auth.git does not exist anymore
- sec. issue
- This is a test
- Investigate problem with JIRA plugin integration HOT 6
- Unable to send feedback or delete account without completing my profile
- website seems ded
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from www.freedomsponsors.org.