Advanced configuration of PayPal Gateway Plugin
All mandatory configuration could 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 PayPal payment gateway plugin can be found in <payment_home>/ysoft/paypal-configuration.properties file. For more information about property files, see Advanced configuration of Dispatcher Paragon Payment System#Overview.
Configuration options
Key |
Description |
paypal.paymentSystemUrl |
URL pointing to PS REST API used for Payment Gateway integrations |
paypal.channel |
Whether the PayPal Integration UI should require HTTPS or HTTP connections |
paypal.paymentExpirationDays |
The number of days after which retrying of PayPal payments stops. 30 is the number of days after which PayPal itself expires its payments. |
paypal.completedDepositCleanupHours |
The number of hours after which completed deposits are removed from the database. |
paypal.depositCleanupDays |
Number of days after which deposits are removed from the database. |
paypal.retryPendingDepositsCron |
How often should pending deposits be retried. |
paypal.expirePendingDepositsCron |
How often should pending deposits be check for expiration. |
paypal.cleanupDepositsCron |
How often should deposits be cleaned up. |
paypal.depositItemName |
Text that appears as the item name in PayPal. |
paypal.useHttpProxy |
If set to true, PayPal will be contacted through a proxy (note that Payment System will always be contacted directly) |
paypal.httpProxyHost |
Proxy host. |
paypal.httpProxyPort |
Proxy port. |
paypal.httpProxyUserName |
Proxy authentication username. |
paypal.httpProxyPassword |
Proxy authentication password. |
paypal.database.vendor |
Database vendor (e.g. H2, MSSQL, PostgreSQL, ...) |
paypal.database.url |
Database connection string. |
paypal.database.username |
Database username. |
paypal.database.password |
Database password. |
paypal.returnUrlPrefix |
The string that URLs sent to PayPal get prefixed with. For example if this property is set to 'https://example.com' than 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. |
paypal.clientId |
PayPal's "username". (PayPal API app Client ID) |
paypal.clientSecret |
PayPal's "password". (PayPal API app Secret) |
paypal.serviceEndpoint |
PayPal's service URL (e.g. https://api.paypal.com). |
paypal.paymentSystemUsername |
PS' username. (the user has to have the appropriate rights set up in PS) |
paypal.paymentSystemPassword |
PS' password. |