A plug to manage PayPal transactions.
Properties:
{payPalDir: string=, payPalFile: string, fixExpense: number,
expensePerDollar: number, payPalClientId: string=,
payPalClientSecret: string=, payPalIsSandbox: boolean=}
where:
payPalDir:
a directory for PayPal config.payPalFile
: a json file to configure PayPal. Its contents are of the form{clientId: string, clientSecret: string, isSandbox: boolean}
fixExpense
: Fix cost for an order in dollars.expensePerDollar
: extra cost in dollars per dollar spent.payPalClientId
: alternative way to configure PayPal using properties, i.e.,clientID
inpayPalFile
.payPalClientSecret
: alternative way to configure PayPal with properties, i.e.,clientSecret
inpayPalFile
.payPalIsSandbox
: alternative way to configure PayPal with properties, i.e.,isSandbox
inpayPalFile
.
- Source: