Most network-connected Android apps will use HTTP to send and receive data. Android includes two HTTP clients: HttpURLConnection and Apache HTTP Client. Both support HTTPS, streaming uploads and downloads, configurable timeouts, IPv6 and connection pooling
Paypal provide us their own library for payment so it is now much secure and easy to implement in our application. Below are the important step to do.
Volley is a library that handles the processing and caching of network requests. It helps to download the imaged from web asynchronously. We do not worry about the Async Task to download the image from network