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 Advanced Configuration of Dispatcher Paragon Payment System.
Configuration Options
Key | Description |
---|---|
paypal.paymentSystemUrl | The URL pointing to the 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 the retrying of PayPal payments stop. 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 pending deposits should be retried. |
paypal.expirePendingDepositsCron | How often pending deposits should be checked for expiration. |
paypal.cleanupDepositsCron | How often deposits should be cleaned up. |
paypal.depositItemName | The 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', 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. |
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 | Payment System's username. (the user has to have the appropriate rights set up in Payment System) |
paypal.paymentSystemPassword | Payment System's password. |