Skip to main content

PayPal

For seamless integration with PayPal, following settings must be configured within the paymentGateways.paypal section of the configuration file.

Configuration parameters​

FieldDescription
clientIdPayPal Client ID
clientSecretPayPal Client Secret
itemNameItem name displayed in the PayPal order
orderDescriptionOrder description displayed in the PayPal
enabledIs integration enabled
sandboxIs sandbox mode enabled
paymentAccountsIdJeraSoft Payment Account ID to use
amountOptionsList of allowed top up amounts
allowCustomAre custom amounts allowed
currencyCodeCurrency (code) to charge payments in
currenciesIdRespective Currency ID in JeraSoft Billing

Sample config​

/opt/jerasoft/vcs-data/conf/cp-customer-params.json

{
"default": {
...
"paymentGateways": {
"paypal": {
"clientId": "your-client-id",
"clientSecret": "your-client-secret",
"itemName": "Balance Top-Up",
"orderDescription": "Balance Top-Up",
"enabled": true,
"sandbox": false,
"paymentAccountsId": 1,
"amountOptions": [
10, 20, 50, 100
],
"allowCustom": true,
"currencyCode": "USD",
"currenciesId": 26
}
},
...
}
}