Proxy Servers

If your server requires HTTP requests to be made through a proxy, you can follow these steps to set up proxies for the server-side SDK.

SetupAnchorIcon

To configure a proxy, set the HTTP_PROXY or HTTPS_PROXY environmental variable on your server before running your app:

  1. Python
export HTTP_PROXY="http://your-proxy-domain:8080"
export HTTPS_PROXY="http://your-proxy-domain:8080"

You can also use an authenticated proxy:

  1. Python
export HTTP_PROXY="http://username:password@http://your-proxy-domain:8080"
export HTTPS_PROXY="http://username:password@http://your-proxy-domain:8080"

If you accept cookies, we’ll use them to improve and customize your experience and enable our partners to show you personalized PayPal ads when you visit other sites. Manage cookies and learn more