caf_paypal/plug_paypal

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 in payPalFile.
  • payPalClientSecret: alternative way to configure PayPal with properties, i.e., clientSecret in payPalFile.
  • payPalIsSandbox: alternative way to configure PayPal with properties, i.e., isSandbox in payPalFile.
Source:

Extends