CRM_Core_Payment_PaypalProTrait
Class CRM_Core_Payment_AuthorizeNetTest
Tags
Table of Contents
Properties
- $isRecur : bool
- Is this a recurring transaction.
- $processor : CRM_Core_Payment_PayPalImpl
Methods
- getExpectedRecurResponses() : array<string|int, mixed>
- Get the expected request from Authorize.net.
- getExpectedSinglePaymentRequests() : array<string|int, mixed>
- Get the expected request from Authorize.net.
- getExpectedSinglePaymentResponses() : array<string|int, mixed>
- Get the expected response from Paypal Pro for a single payment.
- createPaypalProProcessor() : mixed
- Create an AuthorizeNet processors with a configured mock handler.
- setupMockHandler() : mixed
- Add a mock handler to the paypal Pro processor for testing.
Properties
$isRecur
Is this a recurring transaction.
protected
bool
$isRecur
= \FALSE
$processor
protected
CRM_Core_Payment_PayPalImpl
$processor
Methods
getExpectedRecurResponses()
Get the expected request from Authorize.net.
public
getExpectedRecurResponses() : array<string|int, mixed>
Return values
array<string|int, mixed>getExpectedSinglePaymentRequests()
Get the expected request from Authorize.net.
public
getExpectedSinglePaymentRequests() : array<string|int, mixed>
Return values
array<string|int, mixed>getExpectedSinglePaymentResponses()
Get the expected response from Paypal Pro for a single payment.
public
getExpectedSinglePaymentResponses() : array<string|int, mixed>
Return values
array<string|int, mixed>createPaypalProProcessor()
Create an AuthorizeNet processors with a configured mock handler.
protected
createPaypalProProcessor() : mixed
Tags
setupMockHandler()
Add a mock handler to the paypal Pro processor for testing.
protected
setupMockHandler([int|null $id = NULL ]) : mixed
Parameters
- $id : int|null = NULL