Class Settings
Settings used in paypal transactions
public
|
#
__construct( string $currency = 'GBP', boolean|Psr\Log\LoggerInterface $logging = false )
Create a settings object |
public
|
public
string
|
$currency | 'GBP' |
#
Currency, default is GBP, might be USD or something else |
public
string
|
$local | 'GB' |
#
Local to use on paypal pages, default is GB |
public
string
|
$cancelBtn | 'Return to merchant' |
#
Text for cancel button show on paypal pages |
public
boolean
|
$canChooseQuantity | false |
#
Can the user change the quantity of items in cart |
public
boolean
|
$shippingInfoNeeded | false |
#
Whether to collect shipping info |
public
boolean
|
$allowMerchantNote | false |
#
Allow user to leave a note |
public
string
|
$imageURL | null |
#
URL of logo image for paypal pages |
public
string
|
$payflowColor | null |
#
Color of paypal area on paypal pages eg 'ff0000' for red |
public
string
|
$headerBackgroundColor | null |
#
Backgroundcolor of header area eg 'ff0000' for red |
public
string
|
$headerBorderColor | null |
#
Color of 2px border around the header eg 'ff0000' for red |
public
string
|
$weightUnit | null |
#
If you use weight based shipping costyou should set the unit of item weights |
public
boolean|Psr\Log\LoggerInterface
|
$logNotifications | false |
#
Cause all notifications to be logged to stderr |