Skip to content
This repository has been archived by the owner on Sep 10, 2022. It is now read-only.

SDK Configuration Parameters

cmaceochaidh edited this page Jan 18, 2017 · 3 revisions

Account credentials (Add one or more API accounts here)

acct1.UserName = jb-us-seller_api1.paypal.com
acct1.Password = WX4WTU3S8MY44S7F
acct1.Signature = AFcWxV21C7fd0v3bYYYRCpSSRl31A7yDhhsPUU2XhtMoZXsWHFxu-RWy
acct1.AppId=APP-80W284485P519543T
# Subject is optional, only required in case of third party permission
acct1.Subject =

acct2.UserName =sdk-three_api1.sdk.com
acct2.Password =QFZCWN5HZM8VBG7Q
acct2.Signature =A-IzJhZZjhg29XQ2qnhapuwxIDzyAZQ92FRP5dqBzVesOkzbdUONzmOU
acct2.AppId=APP-80W284485P519543T
# Subject is optional, only required in case of third party permission
acct2.Subject =

acct3.UserName = certuser_biz_api1.paypal.com
acct3.Password = D6JNKKULHN3G5B8A
acct3.CertKey=password
acct3.CertPath=resource/sdk-cert.p12
acct3.AppId=APP-80W284485P519543T
# Subject is optional, only required in case of third party permission
acct3.Subject = 

Connection Information

  • defaults to 5000 if not specified
    http.ConnectionTimeOut=5000
  • defaults to 2 if not specified
    http.Retry=2
  • defaults to 30000 if not specified
    http.ReadTimeOut=30000
  • defaults to 100 if not specified
    http.MaxConnection=100
  • defaults to 127.0.0.1 if not specified
    http.IPAddress=127.0.0.1

HTTP Proxy configuration

  • If you are using proxy set http.Proxy to:
  http.Proxy=[username:password@]proxyIP[:port]

Google App Engine configuration

  • Set this property to true if you are using the PayPal SDK within a Google App Engine java app
  • defaults to false if not specified
    http.GoogleAppEngine=false

Service Configuration

  • ENDPOINTS are varied depending on whether sandbox OR live is chosen for mode
    mode=sandbox

REDIRECT URL

  • SANDBOX
    service.RedirectURL=https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=
  • PRODUCTION
    service.RedirectURL=https://www.paypal.com/cgi-bin/webscr?cmd=

DEVCENTRAL URL

service.DevCentralURL=https://developer.paypal.com