getLogDetails()
getProcessorId()
getTransactionId()
getUpgradeRecordId()
initCallbackHandling()
log()
processTransaction()
validatePreConditions()
validateRequest()
$_filtered
$_input
$_request
$_upgrade
$_upgradeModel
$_upgradeRecord
$_upgradeRecordId
$_user
Handles user upgrade processing with PayPal.
package | XenForo_UserUpgrade |
---|
getLogDetails() : array
array
getProcessorId() : string
string
getTransactionId() : string
string
getUpgradeRecordId() : integer
integer
initCallbackHandling(\Zend_Controller_Request_Http $request)
\Zend_Controller_Request_Http
log(string $type, string $message, array $extra)
string
Log type (info, payment, cancel, error)
string
Log message
array
Extra details to log (not including output from getLogDetails)
processTransaction() : array
array
[0] => log type (payment, cancel, info), [1] => log messagevalidatePreConditions(string $errorString) : boolean
These represent things that likely wouldn't get fixed (and generally shouldn't happen), so retries are not necessary.
string
boolean
validateRequest(string $errorString) : boolean
If failure happens, the response should tell the processor to retry.
string
Output error string
boolean
$_filtered : array
$_request : \Zend_Controller_Request_Http
$_upgrade : array | false
$_upgradeRecord : array | false
$_upgradeRecordId : integer | null
$_user : array | false