CRM_Core_Payment_PayPalIPN
in package
Tags
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
= []
$contribution
private
mixed
$contribution
Methods
__construct()
Constructor function.
public
__construct(array<string|int, mixed> $inputData) : mixed
Parameters
- $inputData : array<string|int, mixed>
-
Contents of HTTP REQUEST.
Tags
getInput()
public
getInput(array<string|int, mixed> &$input) : mixed
Parameters
- $input : array<string|int, mixed>
Tags
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
Return values
intmain()
Main function.
public
main() : mixed
Tags
recur()
public
recur(array<string|int, mixed> $input) : void
Parameters
- $input : array<string|int, mixed>
Tags
retrieve()
public
retrieve(string $name, string $type[, bool $abort = true ]) : mixed
Parameters
- $name : string
- $type : string
- $abort : bool = true
Tags
single()
public
single(array<string|int, mixed> $input[, bool $recur = false ]) : void
Parameters
- $input : array<string|int, mixed>
- $recur : bool = false
Tags
getContactID()
Get contact id from parameters.
protected
getContactID() : int
Tags
Return values
intgetContribution()
Get the contribution object.
protected
getContribution() : CRM_Contribute_BAO_Contribution
Tags
Return values
CRM_Contribute_BAO_ContributiongetContributionID()
Get Contribution ID.
protected
getContributionID() : int
Tags
Return values
intgetContributionRecurID()
Get the recurring contribution ID.
protected
getContributionRecurID() : int|null
Tags
Return values
int|nullgetTrxnType()
protected
getTrxnType() : mixed