Overview

Packages

  • currencysymbol
  • MAbout
  • Mage
    • Admin
    • Adminhtml
    • AdminNotification
    • Api
    • Api2
    • Authorizenet
    • Backup
    • Bundle
    • Captcha
    • Catalog
    • CatalogIndex
    • CatalogInventory
    • CatalogRule
    • CatalogSearch
    • Centinel
    • Checkout
    • Cms
    • Compiler
    • Connect
    • Contacts
    • Core
    • Cron
    • CurrencySymbol
    • Customer
    • Dataflow
    • Directory
    • DirtectPost
    • Downloadable
    • Eav
    • GiftMessage
    • GoogleAnalytics
    • GoogleBase
    • GoogleCheckout
    • ImportExport
    • Index
    • Install
    • Log
    • Media
    • Newsletter
    • Oauth
    • Page
    • PageCache
    • Paygate
    • Payment
    • Paypal
    • PaypalUk
    • Persistent
    • Poll
    • ProductAlert
    • Rating
    • Reports
    • Review
    • Rss
    • Rule
    • Sales
    • SalesRule
    • Sedfriend
    • Sendfriend
    • Shipping
    • Sitemap
    • Tag
    • Tax
    • Usa
    • Weee
    • Widget
    • Wishlist
    • XmlConnect
  • None
  • Phoenix
    • Moneybookers
  • PHP
  • Zend
    • Date
    • Mime
    • XmlRpc

Classes

  • Mage_Centinel_Adminhtml_Centinel_IndexController
  • Mage_Centinel_Block_Adminhtml_Validation
  • Mage_Centinel_Block_Adminhtml_Validation_Form
  • Mage_Centinel_Block_Authentication
  • Mage_Centinel_Block_Authentication_Complete
  • Mage_Centinel_Block_Authentication_Start
  • Mage_Centinel_Block_Logo
  • Mage_Centinel_Helper_Data
  • Mage_Centinel_IndexController
  • Mage_Centinel_Model_Api
  • Mage_Centinel_Model_Config
  • Mage_Centinel_Model_Observer
  • Mage_Centinel_Model_Service
  • Mage_Centinel_Model_Session
  • Mage_Centinel_Model_State_Jcb
  • Mage_Centinel_Model_State_Mastercard
  • Mage_Centinel_Model_State_Visa
  • Mage_Centinel_Model_StateAbstract
  • Overview
  • Package
  • Class
  • Tree

Class Mage_Centinel_Model_Service

3D Secure Validation Model

Varien_Object
Extended by 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
Methods summary
protected Mage_Centinel_Model_Session
# _getSession( )

Return validation session object

Return validation session object

Returns

Mage_Centinel_Model_Session
protected string
# _getConfig( )

Return value from section of centinel config

Return value from section of centinel config

Returns

string
protected string
# _generateChecksum( string $paymentMethodCode, string $cardType, string $cardNumber, string $cardExpMonth, float $cardExpYear, string $amount, mixed $currencyCode )

Generate checksum from all passed parameters

Generate checksum from all passed parameters

Parameters

$paymentMethodCode
string
$cardType
$cardType
string
$cardNumber
$cardNumber
string
$cardExpMonth
$cardExpMonth
string
$cardExpYear
$cardExpYear
float
$amount
$amount
string
$currencyCode
$currencyCode

Returns

string
private string
# _getUrl( string $suffix, boolean $current = false )

Unified validation/authentication URL getter

Unified validation/authentication URL getter

Parameters

$suffix
string
$suffix
$current
boolean
$current

Returns

string
protected Mage_Centinel_Model_Api
# _getApi( )

Return validation api model

Return validation api model

Returns

Mage_Centinel_Model_Api
protected Mage_Centinel_Model_StateAbstract
# _getValidationStateModel( string $cardType )

Create and return validation state model for card type

Create and return validation state model for card type

Parameters

$cardType
string
$cardType

Returns

Mage_Centinel_Model_StateAbstract
protected Mage_Centinel_Model_StateAbstract
# _getValidationState( string $cardType = null )

Return validation state model

Return validation state model

Parameters

$cardType
string
$cardType

Returns

Mage_Centinel_Model_StateAbstract
protected
# _resetValidationState( )

Drop validation state model

Drop validation state model

protected Mage_Centinel_Model_StateAbstract
# _initValidationState( string $cardType, string $dataChecksum )

Drop old and init new validation state model

Drop old and init new validation state model

Parameters

$cardType
string
$cardType
$dataChecksum
string
$dataChecksum

Returns

Mage_Centinel_Model_StateAbstract
public
# lookup( Varien_Object $data )

Process lookup validation and init new validation state model

Process lookup validation and init new validation state model

Parameters

$data
Varien_Object
$data
public
# authenticate( Varien_Object $data )

Process authenticate validation

Process authenticate validation

Parameters

$data
Varien_Object
$data
public
# validate( Varien_Object $data )

Validate payment data

Validate payment data

This check is performed on payment information submission, as well as on placing order. Workflow state is stored validation state model

Parameters

$data
Varien_Object
$data

Throws

Mage_Core_Exception
public Mage_Centinel_Model_Service
# reset( )

Reset validation state and drop api object

Reset validation state and drop api object

Returns

Mage_Centinel_Model_Service
public string
# getAuthenticationStartUrl( )

Return URL for authentication

Return URL for authentication

Returns

string
public string
# getValidatePaymentDataUrl( )

Return URL for validation

Return URL for validation

Returns

string
public boolean
# shouldAuthenticate( )

If authenticate is should return true

If authenticate is should return true

Returns

boolean
public array
# getAuthenticateStartData( )

Return data for start authentication (redirect customer to bank page)

Return data for start authentication (redirect customer to bank page)

Returns

array
public boolean
# isAuthenticateSuccessful( )

If authenticate is successful return true

If authenticate is successful return true

Returns

boolean
public mixed
# exportCmpiData( mixed $to, array $map = false )

Export cmpi lookups and authentication information stored in session into array

Export cmpi lookups and authentication information stored in session into array

Parameters

$to
mixed
$to
$map
array
$map

Returns

mixed
$to
Constants summary
string CMPI_PARES 'centinel_authstatus'
#

Cmpi public keys

Cmpi public keys

string CMPI_ENROLLED 'centinel_mpivendor'
#
string CMPI_CAVV 'centinel_cavv'
#
string CMPI_ECI 'centinel_eci'
#
string CMPI_XID 'centinel_xid'
#
Properties summary
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

State cmpi results to public map

protected Mage_Centinel_Model_Api $_api
#

Validation api model

Validation api model

protected Mage_Centinel_Model_StateAbstract $_validationState
#

Validation state model

Validation state model

Magento 1.7.0.2 API documentation generated by ApiGen 2.8.0