Class Mage_Centinel_Model_Service
3D Secure Validation Model
- Varien_Object
- Mage_Centinel_Model_Service
Package: Mage\Centinel
Copyright: Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
License: Open Software License (OSL 3.0)
Located at code/core/Mage/Centinel/Model/Service.php
Copyright: Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
License: Open Software License (OSL 3.0)
Located at code/core/Mage/Centinel/Model/Service.php
protected
|
|
protected
string
|
|
protected
string
|
#
_generateChecksum( string $paymentMethodCode, string $cardType, string $cardNumber, string $cardExpMonth, float $cardExpYear, string $amount, mixed $currencyCode )
Generate checksum from all passed parameters |
private
string
|
|
protected
|
|
protected
|
#
_getValidationStateModel( string $cardType )
Create and return validation state model for card type |
protected
|
|
protected
|
|
protected
|
#
_initValidationState( string $cardType, string $dataChecksum )
Drop old and init new validation state model |
public
|
|
public
|
|
public
|
|
public
|
|
public
string
|
|
public
string
|
|
public
boolean
|
|
public
array
|
|
public
boolean
|
|
public
mixed
|
#
exportCmpiData( mixed $to, array $map = false )
Export cmpi lookups and authentication information stored in session into array |
string |
CMPI_PARES
|
'centinel_authstatus' |
#
Cmpi public keys |
string |
CMPI_ENROLLED
|
'centinel_mpivendor' |
|
string |
CMPI_CAVV
|
'centinel_cavv' |
|
string |
CMPI_ECI
|
'centinel_eci' |
|
string |
CMPI_XID
|
'centinel_xid' |
protected
array
|
$_cmpiMap | array(
'lookup_enrolled' => self::CMPI_ENROLLED,
'lookup_eci_flag' => self::CMPI_ECI,
'authenticate_pa_res_status' => self::CMPI_PARES,
'authenticate_cavv' => self::CMPI_CAVV,
'authenticate_eci_flag' => self::CMPI_ECI,
'authenticate_xid' => self::CMPI_XID,
) |
#
State cmpi results to public map |
protected
|
$_api |
|
#
Validation api model |
protected
|
$_validationState |
|
#
Validation state model |