SetExpressCheckout (NVP Legacy API) and Brazil - paypal

I just updated our application to use the latest version of the legacy NVP API and discovered mention of two new fields (TAXIDTYPE, TAXID) that are apparently required for Brazil. These apparently were introduced after the version of the API we were previously using.
I just tried sending a locale of BR (Brazil) and neglecting to send these new fields and everything worked just fine.
So my questions are:
are they really required?
if so, what exactly are they? Can't find any explanation beyond the API docs (https://www.x.com/developers/paypal/documentation-tools/api/setexpresscheckout-api-operation-nvp) and it's unclear what these fields are. Do people/businesses in Brazil have a TAXID that they're meant to submit when making online purchases?
Thanks in advance for any info.

It is a regulatory requirement for Brazilian merchants to capture buyer's tax id. These fields are not required if are not a Brazilian merchant.

Related

Facebook graph api doesn't return currency

I have problem getting user local currency and usd-exchange rate from facebook, so this one: https://developers.facebook.com/docs/graph-api/reference/currency/
I'm trying to show my shop prices in local currency, just like fb shows prices in local currency in its own purchase dialog after facebook-purchase is launched.
I'm trying to get currency like this:
https://graph.facebook.com/v2.12/me?fields=id,name,currency&access_token=...
(Actually using Unity and Facebook's Unity SDK to do this, but exactly same thing happens when using url above.)
That have definitely worked before. I've also tried api version 3.2. It returns id and name, but no currency info of any kind. But it doesn't give any error message either, as it does with invalid fields.
I really can't find any useful info or help to this. Does getting currency require special permissions these days? But I can't find anything currency related from FB dev console App Review / Permissions and Features either.
Thanks!
Answering to my own question. It just seems that currency info is no longer available.
Starting from January 8th (2019) that field is no longer available for any apps:
https://developers.facebook.com/blog/post/2018/05/01/facebook-login-updates-further-protect-privacy/
There's discussion about this issue here, without any solution so far (may require having FB developer account to access):
https://developers.facebook.com/bugs/285780305453757/
There are some workarounds to get user currency like:
New way to detect Facebook API user currency
But that doesn't give you exchange rate to USD, so that isn't too helpful showing prices in local currency before Facebook's own purchase dialog is displayed.
Very unfortunate. Still, if someone knows way to get local currency and exchange rate that will surely match exchange rates used by FB, please let me know.

Input type tel causing issue in iPhone

I am using ** PayPal Powered by Braintree for WooCommerce** woocommerce plugin extension for Card Payment.
But i recently found that fields under card payment have input type as tel and this is not allowing me to add symbol slash (/) in Expiration Date field specially in iPhone.
Is there any chance to overcome this issue in iPhone?
Screenshot: http://prntscr.com/ez12xq
Full disclosure: I work at Braintree. If you have any further questions, feel free to contact support.
There are two ways to work around this issue:
Update your placeholder to MMYY (you could do this dynamically based on browser)
Break your expirationDate into two separate expirationMonth and expirationYear fields.
If you're interested in the thought process behind this decision, check out the github conversation

Paypal rest api available in Ireland - Jan 2015?

Before I spend a load of time on this, I just want to check that the Rest API is available in Ireland. Having inspected the page: https://developer.paypal.com/docs/integration/direct/rest_api_payment_country_currency_support/
it clearly show support for Euros, but the title of the page says Country and Currency Support and then only seems to talk about Currency with no mention of Country support. I know this is pedantic but does that mean the Country is irrelevant so any country that uses Euros is supported?
Yes, REST API is just another platform which is supported for most of the countries.
You can always use Sandbox environment if you really want to make sure if it works.

How Do You Access Bank Deposits in the QuickBooks Online API?

I'm getting started with the QuickBooks Online API, and between the documentation and Intuit's API Explorer, I can't seem to figure out how to query for bank deposits. I thought it would be in journal entries, but it's not there. I'm looking for simple deposits that are categorized to an income account.
Deposits are not supported in QBO V3. I see you have already raised the query on our community.
While I can't pull down the link in Keith Palmer — Consolibyt's response to this related question (as I'm asked to login to something), it appears that v2 of the API didn't support them either, so it's not obvious that this feature is actually on the roadmap.
It's hard to believe there's really no way to access every type of transaction that can touch the GL, but I haven't seen any information to the contrary.

New PayPal API - how to set up live application? Not Sandbox

It has been some time since I last set up PayPal payments on a website.
After I opened the new PayPal API and honestly, I am a little bit confused. At the moment, there is each new website considered by PayPal support?
On the following page, https://developer.paypal.com/webapps/developer/applications, I found Test credentials, but I want to set up Live credentials.
In the block with Live credentials, it is written:
Live credentials (currently for U.S. businesses)
We'll email you when your live credentials are ready.
How much it usually takes? And also, what everything is needed for being approved? Is there any way to make it faster or the only thing I can do is to wait?
Thanks
The first part of your question about new websites is unclear. But I would guess that the Classic APIs might be a better choice for your use-case, as the new RESTful API is still in a beta stage with limited features.
I see this is tagged as paypal-adaptive-payments. Adaptive Payments is its own separate API and you can read information on going live with it here: https://www.x.com/developers/paypal/documentation-tools/going-live-with-your-application
For the second part of your question, I am not sure how long it takes but my best guess from similar processes is two business days (Monday-Friday)
Live credentials are only available for US accounts right now as we currently only support America.