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.

Setup

Set a proxy address and port in your Braintree configuration:

Ruby
Copy
Copied
Braintree::Configuration.proxy_address = "http://your-proxy-domain.com"
Braintree::Configuration.proxy_port = "8080"

To use an authenticated proxy, you can additionally specify a username and password:

Ruby
Copy
Copied
Braintree::Configuration.proxy_user = "username"
Braintree::Configuration.proxy_pass = "password"

Still have questions?

If you can’t find an answer, contact our Support team.