MediaWiki fundraising/REL1_35
Abstract3DSecure Class Reference
Inheritance diagram for Abstract3DSecure:
Collaboration diagram for Abstract3DSecure:

Protected Member Functions

 canSet3dSecure (array $normalized)
 Returns true if we should proceed to call isRecommend3dSecure.
 
 isRecommend3dSecure (GatewayType $adapter, array $normalized)
 Determines whether a given donation should be sent through 3D Secure authentication.
 

Additional Inherited Members

- Public Member Functions inherited from StagingHelper
 stage (GatewayType $adapter, $normalized, &$stagedData)
 Transform a subset of normalized data into the "staged" data expected by a payment processor.
 

Detailed Description

Definition at line 3 of file Abstract3DSecure.php.

Member Function Documentation

◆ canSet3dSecure()

Abstract3DSecure::canSet3dSecure ( array $normalized)
protected

Returns true if we should proceed to call isRecommend3dSecure.

Always check that at least country and currency are present. May be overridden to add additional checks.

Parameters
array$normalized
Returns
bool

Reimplemented in GlobalCollect3DSecure, and Ingenico3DSecure.

Definition at line 13 of file Abstract3DSecure.php.

Referenced by Adyen3DSecure\stage().

◆ isRecommend3dSecure()

Abstract3DSecure::isRecommend3dSecure ( GatewayType $adapter,
array $normalized )
protected

Determines whether a given donation should be sent through 3D Secure authentication.

We configure this on our side based on a global variable that specifies combinations of currency and country. There may be additional rules configured in the processor console.

Parameters
GatewayType$adapter
array$normalized
Returns
bool true when we want to send the donor through 3D Secure

Definition at line 30 of file Abstract3DSecure.php.

Referenced by Adyen3DSecure\stage(), GlobalCollect3DSecure\stage(), and Ingenico3DSecure\stage().


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