Class Mage_Paygate_Model_Authorizenet
Magento
NOTICE OF LICENSE
This source file is subject to the Open Software License (OSL 3.0) that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://opensource.org/licenses/osl-3.0.php If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@magentocommerce.com so we can send you a copy immediately.
DISCLAIMER
Do not edit or add to this file if you wish to upgrade Magento to newer versions in the future. If you wish to customize Magento for your needs please refer to http://www.magentocommerce.com for more information.
- Varien_Object
- Mage_Payment_Model_Method_Abstract
- Mage_Payment_Model_Method_Cc
- Mage_Paygate_Model_Authorizenet
Direct known subclasses
Mage_Authorizenet_Model_DirectpostCategory: Mage
Copyright: Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
License: Open Software License (OSL 3.0)
Located at code/core/Mage/Paygate/Model/Authorizenet.php
public
boolean
|
|
public
array
|
|
public
boolean
|
|
public
boolean
|
|
public
boolean
|
|
public
|
#
setPartialAuthorizationLastActionState( string $state )
Set partial authorization last action state into session |
public
string
|
#
getPartialAuthorizationLastActionState( )
Return partial authorization last action state from session |
public
|
#
unsetPartialAuthorizationLastActionState( )
Unset partial authorization last action state in session |
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
#
cancelPartialAuthorization(
Cancel partial authorizations and flush current split_tender_id record |
protected
|
#
_place(
Send request with new payment to gateway |
protected
|
#
_partialAuthorization(
Send request with new payment to gateway during partial authorization process |
protected
boolean
|
#
_isPreauthorizeCapture(
Return true if there are authorized transactions |
protected
|
#
_preauthorizeCapture(
Send capture request to gateway for capture authorized transactions |
protected
|
#
_preauthorizeCaptureCardTransaction(
Send capture request to gateway for capture authorized transactions of card |
protected
|
#
_voidCardTransaction(
Void the card transaction through gateway |
protected
boolean
|
|
protected
|
#
_refundCardTransaction(
Refund the card transaction through gateway |
protected
|
|
public
|
|
public
boolean
|
#
isPartialAuthorization(
If parial authorization is started method will returne true |
public
|
#
processInvoice(
Mock capture transaction id in invoice |
public
|
#
processCreditmemo(
Set transaction ID into creditmemo for informational purposes |
public
array
|
#
fetchTransactionInfo(
Fetch transaction details info |
protected
boolean
|
#
_processPartialAuthorizationResponse( Varien_Object $response,
Set split_tender_id to quote payment if neeeded |
protected
|
|
protected
|
|
protected
|
|
protected
string
|
|
protected
|
|
protected
Varien_Object
|
#
_registerCard( Varien_Object $response,
It sets card`s data into additional information of payment model |
private
|
|
protected
null|
|
#
_addTransaction(
Add payment transaction |
protected
string|float
|
#
_formatAmount( string|float $amount, boolean $asFloat = false )
Round up and cast specified amount to float or string |
protected
boolean
|
#
_isGatewayActionsLocked(
If gateway actions are locked return true |
protected
|
#
_processFailureMultitransactionAction(
Process exceptions for gateway action with a lot of transactions |
protected
string
|
#
_generateChecksum( Varien_Object $object, array $checkSumDataKeys = array() )
Generate checksum for object |
protected
Varien_Object
|
#
_getTransactionDetails( string $transactionId )
This function returns full transaction details for a specified transaction ID. |
ACTION_AUTHORIZE,
ACTION_AUTHORIZE_CAPTURE,
ACTION_ORDER,
STATUS_APPROVED,
STATUS_DECLINED,
STATUS_ERROR,
STATUS_SUCCESS,
STATUS_UNKNOWN,
STATUS_VOID
|
protected
string
|
$_code |
|
|
protected
string
|
$_formBlockType | 'paygate/authorizenet_form_cc' |
#
Form block type |
protected
string
|
$_infoBlockType | 'paygate/authorizenet_info_cc' |
#
Info block type |
protected
boolean
|
$_isGateway | true |
#
Availability options |
protected
boolean
|
$_canAuthorize | true |
|
protected
boolean
|
$_canCapture | true |
|
protected
boolean
|
$_canCapturePartial | false |
|
protected
boolean
|
$_canRefund | true |
|
protected
boolean
|
$_canRefundInvoicePartial | true |
|
protected
boolean
|
$_canVoid | true |
|
protected
boolean
|
$_canUseInternal | true |
|
protected
boolean
|
$_canUseCheckout | true |
|
protected
boolean
|
$_canUseForMultishipping | true |
|
protected
boolean
|
$_canSaveCc | false |
|
protected
boolean
|
$_canFetchTransactionInfo | true |
|
protected
array
|
$_allowCurrencyCode | array('USD') |
|
protected
array
|
$_debugReplacePrivateDataKeys | array('x_login', 'x_tran_key',
'x_card_num', 'x_exp_date',
'x_card_code', 'x_bank_aba_code',
'x_bank_name', 'x_bank_acct_num',
'x_bank_acct_type','x_bank_acct_name',
'x_echeck_type') |
#
Fields that should be replaced in debug with '***' |
protected
string
|
$_isTransactionFraud | 'is_transaction_fraud' |
#
Key for storing fraud transaction flag in additional information of payment model |
protected
string
|
$_realTransactionIdKey | 'real_transaction_id' |
#
Key for storing transaction id in additional information of payment model |
protected
string
|
$_splitTenderIdKey | 'split_tender_id' |
#
Key for storing split tender id in additional information of payment model |
protected
string
|
$_isGatewayActionsLockedKey | 'is_gateway_actions_locked' |
#
Key for storing locking gateway actions flag in additional information of payment model |
protected
string
|
$_partialAuthorizationLastActionStateSessionKey | 'paygate_authorizenet_last_action_state' |
#
Key for storing partial authorization last action state in session |
protected
string
|
$_partialAuthorizationChecksumSessionKey | 'paygate_authorizenet_checksum' |
#
Key for storing partial authorization checksum in session |
protected
array
|
$_partialAuthorizationChecksumDataKeys | array(
'x_version', 'x_test_request', 'x_login', 'x_test_request', 'x_allow_partial_auth', 'x_amount',
'x_currency_code', 'x_type', 'x_first_name', 'x_last_name', 'x_company', 'x_address', 'x_city', 'x_state',
'x_zip', 'x_country', 'x_phone', 'x_fax', 'x_cust_id', 'x_customer_ip', 'x_customer_tax_id', 'x_email',
'x_email_customer', 'x_merchant_email', 'x_ship_to_first_name', 'x_ship_to_last_name', 'x_ship_to_company',
'x_ship_to_address', 'x_ship_to_city', 'x_ship_to_state', 'x_ship_to_zip', 'x_ship_to_country', 'x_po_num',
'x_tax', 'x_freight'
) |
#
Fields for creating place request checksum |
protected
array
|
$_centinelFieldMap | array(
'centinel_cavv' => 'x_cardholder_authentication_value',
'centinel_eci' => 'x_authentication_indicator'
) |
#
Centinel cardinal fields map |
$_canCancelInvoice,
$_canCreateBillingAgreement,
$_canManageRecurringProfiles,
$_canOrder,
$_canReviewPayment,
$_isInitializeNeeded
|