Overview

Namespaces

  • mcfedr
    • Paypal
      • Exceptions
      • Notifications
      • Products
  • PHP

Classes

  • Authentication
  • Buyer
  • Paypal
  • Settings
  • Overview
  • Namespace
  • Class
  • Tree

Class Settings

Settings used in paypal transactions

Namespace: mcfedr\Paypal
Located at mcfedr/Paypal/Settings.php
Methods summary
public
# __construct( string $currency = 'GBP', boolean|Psr\Log\LoggerInterface $logging = false )

Create a settings object

Create a settings object

Parameters

$currency
string
$currency
$logging
boolean|Psr\Log\LoggerInterface
$logging
public
# setParams( array & $params )

Sets up the array with the vars for the settings

Sets up the array with the vars for the settings

Parameters

$params
array
$params
Properties summary
public string $currency 'GBP'
#

Currency, default is GBP, might be USD or something else

Currency, default is GBP, might be USD or something else

public string $local 'GB'
#

Local to use on paypal pages, default is GB

Local to use on paypal pages, default is GB

public string $cancelBtn 'Return to merchant'
#

Text for cancel button show on paypal pages

Text for cancel button show on paypal pages

public boolean $canChooseQuantity false
#

Can the user change the quantity of items in cart

Can the user change the quantity of items in cart

public boolean $shippingInfoNeeded false
#

Whether to collect shipping info

Whether to collect shipping info

public boolean $allowMerchantNote false
#

Allow user to leave a note

Allow user to leave a note

public string $imageURL null
#

URL of logo image for paypal pages

URL of logo image for paypal pages

public string $payflowColor null
#

Color of paypal area on paypal pages eg 'ff0000' for red

Color of paypal area on paypal pages eg 'ff0000' for red

public string $headerBackgroundColor null
#

Backgroundcolor of header area eg 'ff0000' for red

Backgroundcolor of header area eg 'ff0000' for red

public string $headerBorderColor null
#

Color of 2px border around the header eg 'ff0000' for red

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

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

Cause all notifications to be logged to stderr

Paypal API documentation generated by ApiGen 2.8.0