繁体   English   中英

Paypal Java SDK - 如何配置.properties文件?

[英]Paypal Java SDK - how do I configure the .properties File?

我正在尝试通过Java Paypal SDK连接到我的Paypal商业帐户以自动发送发票。 我像这样配置.properties文件:

http.ConnectionTimeOut=5000
http.Retry=1
http.ReadTimeOut=30000
http.MaxConnection=100

# HTTP Proxy configuration
# If you are using proxy set http.UseProxy to true and replace the following         
values with your proxy parameters
http.ProxyPort=8080
http.ProxyHost=127.0.0.1
http.UseProxy=false
http.ProxyUserName=null
http.ProxyPassword=null

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

# Service Configuration
service.EndPoint=https://api.sandbox.paypal.com
# Live EndPoint
# service.EndPoint=https://api.paypal.com

# Credentials
clientId=ID (of SANDBOX API CREDENTIALS)
clientSecret=SECRET (of SANDBOX API CREDENTIALS)

# Webhook Validation
#webhook.trustCert=DigiCertSHA2ExtendedValidationServerCA.crt

当它连接时,我得到“错误消息:在应用程序属性中没有配置API帐户”。 我的.properties文件出了什么问题?

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM