Documentation

CRM_Core_Payment_PayPalIPN
in package

Tags
copyright

CiviCRM LLC https://civicrm.org/licensing

Table of Contents

Properties

$_inputParameters  : array<string|int, mixed>
Input parameters from payment processor. Store these so that the code does not need to keep retrieving from the http request
$contribution  : mixed

Methods

__construct()  : mixed
Constructor function.
getInput()  : mixed
getPayPalPaymentProcessorID()  : int
Get PaymentProcessorID for PayPal
main()  : mixed
Main function.
recur()  : void
retrieve()  : mixed
single()  : void
getContactID()  : int
Get contact id from parameters.
getContribution()  : CRM_Contribute_BAO_Contribution
Get the contribution object.
getContributionID()  : int
Get Contribution ID.
getContributionRecurID()  : int|null
Get the recurring contribution ID.
getTrxnType()  : mixed

Properties

$_inputParameters

Input parameters from payment processor. Store these so that the code does not need to keep retrieving from the http request

protected array<string|int, mixed> $_inputParameters = []

Methods

__construct()

Constructor function.

public __construct(array<string|int, mixed> $inputData) : mixed
Parameters
$inputData : array<string|int, mixed>

Contents of HTTP REQUEST.

Tags
throws
CRM_Core_Exception

getInput()

public getInput(array<string|int, mixed> &$input) : mixed
Parameters
$input : array<string|int, mixed>
Tags
throws
CRM_Core_Exception

getPayPalPaymentProcessorID()

Get PaymentProcessorID for PayPal

public getPayPalPaymentProcessorID(array<string|int, mixed> $input, int|null $contributionRecurID) : int
Parameters
$input : array<string|int, mixed>
$contributionRecurID : int|null
Tags
throws
CRM_Core_Exception
Return values
int

recur()

public recur(array<string|int, mixed> $input) : void
Parameters
$input : array<string|int, mixed>
Tags
throws
CRM_Core_Exception

retrieve()

public retrieve(string $name, string $type[, bool $abort = true ]) : mixed
Parameters
$name : string
$type : string
$abort : bool = true
Tags
throws
CRM_Core_Exception

single()

public single(array<string|int, mixed> $input[, bool $recur = false ]) : void
Parameters
$input : array<string|int, mixed>
$recur : bool = false
Tags
throws
CRM_Core_Exception

getContributionRecurID()

Get the recurring contribution ID.

protected getContributionRecurID() : int|null
Tags
throws
CRM_Core_Exception
Return values
int|null

        
On this page

Search results