1
私は請求書を自動的に送信するために、Java Paypal SDK経由で自分のPaypalビジネスアカウントに接続しようとしています。Paypal Java SDK - .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ファイルは、このようなファイル構成されました。 .propertiesファイルに何が間違っていますか?
私は、任意のAPIの資格が設定され表示されないのですか? https://github.com/paypal/sdk-core-java/wiki/SDK-Configuration-Parameters – anders
clientIdとclientSecretはIDとSECRETに置き換えられます。または、acctXの資格情報も必要ですか? – jimb0p