Facebook Mobile Payments Currency - facebook

The graph api returns a set of price points that include payer_amount and payout_base_amount in the user's currency.
How can we obtain these amounts in US dollars, so we compare it to the product:price:amount in the product url (we only have USD set in the product url).
Thanks!

Related

Getting shipping price in specific currency on Shippo

When using Shippo API for buying postage and printing shipping labels, shipping rates are returned in the currency of the country you're shipping from. So if you're shipping from Europe they will show in Euro, if you're shipping from United States they will show up in USD.
Is there an API option to show the shipping cost in a different currency (for example, always US dollars)? This problem appears when we display prices for goods in USD, so we need to show the shipping cost in the same currency.
Yes, you can set the rate to the currency of your choice by adding the currency code to the URL as described in the API docs: https://goshippo.com/docs/reference#rates

Facebook payment with automatic currency conversion, what is reported?

Say that a user of my Facebook Game initiates a payment for a product that is only priced in EUR, which Facebook then converts to USD for them. When I fetch this Payment from the Facebook Graph API, what's the currency reported in its charge action, EUR or USD?
Through experimenting, I've found that the reported currency is one that is specified in the product Open Graph page (in this case EUR).

Can I use PayPal to change product prices based on location?

Can I use PayPal as currency conversion.
I run a global site, and am introducing multiple currency - USD, GBP, EUR, AUD, YEN.
When a user selects their selected currency I need the prices to reflect the conversion across our web and mobile platform
You can use PayPal to charge buyers in all these currencies, but unfortunately you cannot use PayPal for all your currency conversion and display the prices on your site.
However, if you're selling in GBP and your buyer's funding sources are in EUR, we will of course automatically convert these.
Note; our Adaptive Payments product does offer a 'CurrencyConversion' API call, but this API call is not intended for on-the-fly calculation for your product listings.

How to display facebook payments in real currency with pay dialog?

I am using facebook pay dialog with action buy_items... i implemented the callback url and everything works correctly. In "payments_get_items" callback i set "price" property to (for example ) 5 (meaning 5 US dollars), but it seems that facebook understands this as 5 credits which is priced as $1.5 (or some other value different from $5). I don't want to display credits in my pay dialog but in client's local currency.
I am not sure how to do this..
Note: I didn't register company yet (may be this is the problem?)
As per the documentation: https://developers.facebook.com/docs/payments/callback/ price should be set in Facebook Credits:
The product cost based in credits. All product costs must be based in
credits. Integer value must be > 0.
Indeed using dev_purchase_params: {'oscif': true} will instruct Facebook to display the price in the user preferred currency instead of Facebook Credits. You don't need to register a company to get this working.
I think your issue is to convert USD to Facebook Credits (correct me if I'm wrong). Currently a Facebook credit is worth 0.10 USD, $1.00 USD = 10 Facebook Credits (http://www.facebook.com/help/?faq=204417036262972)
Note that you can also convert currencies to Facebook Credits and the opposite using this tool: http://developers.facebook.com/docs/payments/user_currency/ This will allow you to display the exact value in USD, EUR...

Paypal mulicurrency payments

On our site user can make paypal donations to other users in different currencies, but we want to hold payment statistics in USD, is there any way to get in the paypal IPN payment gross, automaticly converted to US Dollars?
you achieve this by getting the gross in that currency and then multiplying it by the current USD rate. you can not get it in IPN because it sends variable only relating to your transaction. you need to do it manually when variables are received.
curent currency rates can be get by PayPal Api for currency conversion, here is link to documentation:
PayPal Currency Conversion API
Hope this helps.