Secondary Settings

These settings are normally correct at their default values but can be overridden if necessary.

Table 6-2 PayPal - Secondary Settings

Setting Description Default Example

store.availability

Whether this location is currently open for business.

open

store.availability= open

store.tabType

The type of tab supported at this location.

none

store.tabType = standard

store.mobility

The mobile setting for this location.

fixed

store.mobility = mobile

store.gratuityType

The type of gratuity that is accepted by this location.

none

store.gratuityType = standard

capture.endpoint

The capture service end point context.

/v2/retail/captures

capture.endpoint = /v2/retail/captures

token.endpoint

The token service end point context.

/v1/oauth2/token

token.endpoint = /v1/oauth2/token

location.endpoint

The location service end point context.

/retail/merchant/v1/locations

location.endpoint = /retail/merchant/v1/locations

cancel.endpoint

The end point context for cancelling payment or refund.

/v2/retail/cancel

cancel.endpoint = /v2/retail/cancel

base.api.url

Base URL of PayPal's services.

https://api.paypal.com

base.api.url= https://api.paypal.com

connect.timeout

Timeout in milliseconds when connecting to PayPal.

5000

connect.timeout = 5000

payment.read.timeout

Read timeout in milliseconds for PayPal's payment related services.(ex. capture.cancel,refund).

300000

payment.read.timeoutut = 300000

other.read.timeout

Read timeout in milliseconds for PayPal's services non-payment related service.(ex. token service).

120000

other.read.timeout= 120000

merchant.category.code

Merchant category code.

5965

merchant.category.code = 5965

qr.code.max.length

The maximum digits of the QR code.

18

qr.code.max.length = 18

crypto.keygenType

Sets the keygen algorithm type.

AES

crypto.keygenType = AES

crypto.cipherType

Sets the cipher algorithm type.

AES/GCM/PKCS5Padding

crypto.cipherType = AES/GCM/PKCS5Padding

crypto.keySize

Sets size of the keystore key.

Note: When keysize is greater than 128, you may get java.security.InvalidKeyException: Illegal key size or default parameters. If this happens you will need to download additional Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files and extract those files to $JAVA_HOME/jre/lib/security/

128

crypto.keySize = 128

crypto.iterations

Sets the number of iterations.

100000

crypto.iterations = 100000

crypto.factoryinstance

Sets crypto factory instance for keystore password encryption.

PBKDF2WithHmacSHA512

crypto.factoryinstance = PBKDF2WithHmacSHA512

crypto.secretkeyspec

Sets crypto secret key spec for keystore password encryption.

AES

crypto.secretkeyspec = AES

crypto.keystoretype

Sets keystore type

JKS

crypto.keystoretype = JKS

crypto.digest

Sets digest for keystore password.

SHA-512

crypto.digest = SHA-512

crypto.hashbyteSize

Sets hash byte size for keystore password.

384

crypto.hashbyteSize = 384