Skip to main content
Skip table of contents

Advanced Configuration of the PayPal Gateway Plugin

All mandatory configurations can be managed during installation (see Payment gateway plugin deployment). Once the PayPal Gateway plugin is installed, you can use this guide to change existing or set advanced options. Configuration of the PayPal Payment Gateway Plugin can be found in <payment_home>/ysoft/paypal-configuration.properties file. For more information about property files, see (6.0.104.1) Advanced Configuration of YSoft SafeQ Payment System#Overview.

Configuration Options

KeyDescription

paypal.paymentSystemUrl

The URL pointing to the PS REST API used for Payment Gateway integrations.
default: https://localhost:8443/payment-system/api/v1/paymentgateway/deposit
paypal.channelWhether the PayPal Integration UI should require HTTPS or HTTP connections.
default: https
paypal.paymentExpirationDaysThe number of days after which the retrying of PayPal payments stop. 30 is the number of days after which PayPal itself expires its payments.
default: 30

paypal.completedDepositCleanupHours

The number of hours after which completed deposits are removed from the database.
default: 1
paypal.depositCleanupDaysNumber of days after which deposits are removed from the database.
default: 60
paypal.retryPendingDepositsCronHow often pending deposits should be retried.
default: 0 0/10 * * * ?
paypal.expirePendingDepositsCronHow often pending deposits should be checked for expiration.
default: 0 0 0 * * ?
paypal.cleanupDepositsCronHow often deposits should be cleaned up.
default: 0 0 * * * ?
paypal.depositItemNameThe text that appears as the item name in PayPal.
default: Deposit
paypal.useHttpProxyIf set to true, PayPal will be contacted through a proxy (note that Payment System will always be contacted directly).
default: false
paypal.httpProxyHostProxy host.
default: localhost
paypal.httpProxyPortProxy port.
default: 3128
paypal.httpProxyUserNameProxy authentication username.
paypal.httpProxyPasswordProxy authentication password.
paypal.database.vendorDatabase vendor (e.g. ,H2, MSSQL, PostgreSQL, ...).
default: H2
paypal.database.urlDatabase connection string.
default: jdbc:h2:mem:paypal-integration;DB_CLOSE_DELAY=-1;MVCC=true
paypal.database.usernameDatabase username.
default: sa
paypal.database.passwordDatabase password.
(required)
paypal.returnUrlPrefixThe string that URLs sent to PayPal get prefixed with. For example, if this property is set to 'https://example.com', then the confirmation URL sent to PayPal will look like this 'https://example.com/deposit/123/payment-confirmed-by-paypal'. This is done to allow the integration module to sit behind a proxy with a public name without URL rewriting.
(required)
paypal.clientIdPayPal's "username". (PayPal API app Client ID)
(required)
paypal.clientSecretPayPal's "password". (PayPal API app Secret)
(required)
paypal.serviceEndpointPayPal's service URL (e.g., https://api.paypal.com).
(required)
paypal.paymentSystemUsername

Payment System's username. (the user has to have the appropriate rights set up in Payment System)
(required)

paypal.paymentSystemPasswordPayment System's password.
(required)
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.