PayPal API Taking Very Long Time To Respond - performance

I am using following PayPal API
https://payflowlink.paypal.com/
It is taking very long time. Please check following screenshot.
Is it a PayPal issue? How to improve the speed? Let me know if any other information is required.

payflowlink.paypal.com is not an API, it's a hosted field application
If it's too slow try something more modern like https://developer.paypal.com/demo/checkout/#/pattern/client , or Braintree Direct if you need a full gateway

switch network environment or put your code from local to linux server.

Related

How to get instances configuration deployed in Ali cloud?

Our customer using Alibaba cloud to deploy their application. They rented dozens of VMs/instances. We are asked to using API to get instance configuration (i.e. number of core, memory, network bandwidth, SSD, disk type, zone and etc) by program. We have found Ali open APIs in github./1/
Could someone point out which exact API could we call to get instance configuration?
/1/ https://github.com/aliyun/aliyun-openapi-java-sdk/
You can use the DescribeInstanceAttribute API. I feel it's very helpful to use the APIExplorer to debug APIs. You don't need to install SDKs, CLIs, write any code, and configure access keys etc. Just login your Alibaba Cloud account, fill in some inputs, and click the Send Request. Everything is there!

Square connect Reporting API testing

Can anyone help me to know how can I test the listAdditionalRecipientReceivables API implementation as it cannot be tested on sandbox in Square connect payment gateway at backend side?
Unfortunately, the ability to test the Reporting API in sandbox isn’t currently available for Square’s API. In order to test you will need to use live transactions. 
We are constantly improving the product based on feedback like this, so I’ll be sure to share your thoughts with the API team.

How to set local database for google safe browsing update API (v4)?

I am building a service for checking for phishing or malware URLs for one of my applications. This service will be running on google app engine. Now, I want to use google safe browsing's Update API (v4) to have local database of URL hashes. But I am having hard time to understand the setup process of the local database they have mentioned.
https://developers.google.com/safe-browsing/v4/local-databases
They do provide a Go source code to do something of this sort but its not descriptive enough to have my own implementation.
I want to setup the db on google cloud itself. Can anyone point me to any good documentation or some ways to do the same if you have tried this before.
you can use:
"https://safebrowsing.googleapis.com/v4/threatListUpdates:fetch?key=" + apiKey;
to download hash version database.
you may need send a post request to get the database according to https://developers.google.com/safe-browsing/v4/reference/rest/v4/threatListUpdates/fetch

How to use Windows Azure in Indonesia?

I plan to implement my website (asp.net & sql2008) using windows azure, but I have difficulty to do it because windows azure has not released yet in my location (Indonesia).
Should someone like to share the solution the same with my problem would be appreciated.
The question was asked on MSDN and the answer is that it is not possible. The only solution is to wait for Windows Azure available in your country.
MSDN Forum
Just run your apps on HK or Singapore Windows Azure Public Data Centers, these are the APAC Data Centers for your region.
for testing reasons, I wanted to create an Azure account, and faced the same here in Egypt.
I've made it by remotely logging into one of our U.S-based servers, and registered from there :) If you can't do so, and need this account badly, and don't have such server, try using TOR.
Update: TOR is a proxy-like solution for your internet connection, it will redirect all requests/responses to a node on the TOR network, which consists of volunteers like you and me.
so my solution is simple, we gonna use tor to simulate that you are inside one of the permitted countries, and register your account with ease.
what you gonna need is to install TOR and configure your browser to use it, but my personal recommendation is to install TOR browser bundle, it's TOR+a Browser that is pre-configured to use it.
you gonna find a nice video on the TOR browser bundle page that will give you an overview about it.
give it a try, and tell me what happened.

Google Keyword Tools API

Is there anyway for developer to test Google keyword Tools API for free?
You can test it against the sandbox without charge but you don't get the real results that you would from the live system.
Testing against the live API uses API units. However, I usually find I only need to pull down a few keywords for testing and even with many testing cycles it doesn't really cost very much.
One thing you can do to reduce costs is to get the tool working with the sandbox to make sure there aren't any errors etc. Then, once it's working, just run a few tests in production to check the data looks correct.
Having an Adword's account is free. You only pay if you have an active ad running. The keywords tool is here

Resources