Cheetah
Public Member Functions | Public Attributes | List of all members
ChPmtPayPal Class Reference
Inheritance diagram for ChPmtPayPal:
ChPmtProvider

Public Member Functions

 __construct ($oDb, $oConfig, $aConfig)
 
 initializeCheckout ($iPendingId, $aCartInfo, $bRecurring=false, $iRecurringDays=0)
 
 finalizeCheckout ($aData)
 
 _registerCheckout ($aData, $bSubscription=false, $iPendingId=0)
 
 _validateCheckout ($aData)
 
 _readValidationData ($sConnectionUrl, $sRequest)
 
 _getReceivedAmount ($sCurrencyCode, &$aResultData)
 
- Public Member Functions inherited from ChPmtProvider
 finalizeCheckout (&$aData)
 
 checkoutFinished ()
 
 needRedirect ()
 

Public Attributes

 $_sDataReturnUrl
 
- Public Attributes inherited from ChPmtProvider
 $_oDb
 
 $_oConfig
 
 $_iId
 
 $_sName
 
 $_sCaption
 
 $_sPrefix
 
 $_aOptions
 
 $_bRedirectOnResult
 

Additional Inherited Members

- Protected Member Functions inherited from ChPmtProvider
 getOptionsByPending ($iPendingId)
 
 getOption ($sName)
 

Detailed Description

Definition at line 17 of file ChPmtPayPal.php.

Constructor & Destructor Documentation

◆ __construct()

ChPmtPayPal::__construct (   $oDb,
  $oConfig,
  $aConfig 
)

Constructor

Reimplemented from ChPmtProvider.

Definition at line 24 of file ChPmtPayPal.php.

Member Function Documentation

◆ _getReceivedAmount()

ChPmtPayPal::_getReceivedAmount (   $sCurrencyCode,
$aResultData 
)

Definition at line 276 of file ChPmtPayPal.php.

◆ _readValidationData()

ChPmtPayPal::_readValidationData (   $sConnectionUrl,
  $sRequest 
)

Definition at line 250 of file ChPmtPayPal.php.

◆ _registerCheckout()

ChPmtPayPal::_registerCheckout (   $aData,
  $bSubscription = false,
  $iPendingId = 0 
)
Parameters
$aData- data from payment provider.
$bSubscription- Is not needed. May be used in the future for subscriptions.
$iPendingId- Is not needed. May be used in the future for subscriptions.
Returns
array with results.

Definition at line 110 of file ChPmtPayPal.php.

◆ _validateCheckout()

ChPmtPayPal::_validateCheckout (   $aData)

Definition at line 162 of file ChPmtPayPal.php.

◆ finalizeCheckout()

ChPmtPayPal::finalizeCheckout (   $aData)

Definition at line 90 of file ChPmtPayPal.php.

◆ initializeCheckout()

ChPmtPayPal::initializeCheckout (   $iPendingId,
  $aCartInfo,
  $bRecurring = false,
  $iRecurringDays = 0 
)

Reimplemented from ChPmtProvider.

Definition at line 31 of file ChPmtPayPal.php.

Member Data Documentation

◆ $_sDataReturnUrl

ChPmtPayPal::$_sDataReturnUrl

Definition at line 19 of file ChPmtPayPal.php.


The documentation for this class was generated from the following file: