Class Mage_Authorizenet_Model_Directpost
Authorize.net DirectPost payment method model.
- Varien_Object
- Mage_Payment_Model_Method_Abstract
- Mage_Payment_Model_Method_Cc
- Mage_Paygate_Model_Authorizenet
- Mage_Authorizenet_Model_Directpost
Package: Mage\Authorizenet
Category: Mage
Copyright: Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
License: Open Software License (OSL 3.0)
Author: Magento Core Team <core@magentocommerce.com>
Located at code/core/Mage/Authorizenet/Model/Directpost.php
Category: Mage
Copyright: Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
License: Open Software License (OSL 3.0)
Author: Magento Core Team <core@magentocommerce.com>
Located at code/core/Mage/Authorizenet/Model/Directpost.php
public
boolean
|
|
public
|
|
public
|
|
public
boolean
|
|
public
boolean
|
|
public
|
|
public
|
#
processInvoice(
Set capture transaction ID to invoice for informational purposes |
public
|
#
processCreditmemo(
Set transaction ID into creditmemo for informational purposes |
public
|
|
protected
|
|
public
string
|
|
public
string
|
#
getRelayUrl( integer $storeId = null )
Return URL on which Authorize.net server will return payment result data in hidden request. |
protected
|
|
public
|
|
public
Mage_Payment_Model_Abstract
|
#
initialize( string $paymentAction, Varien_Object $stateObject )
Instantiate state and set it to state object |
public
|
#
generateRequestFromOrder(
Generate request object and fill its fields from Quote or Order object |
public
|
|
public
boolean
|
|
public
|
|
protected
|
#
_fillPaymentByResponse( Varien_Object $payment )
Fill payment with credit card data from response from Authorize.net. |
public
true
|
|
public
true
|
|
protected
boolean
|
|
protected
|
#
_authOrder(
Operate with order using information from Authorize.net. Authorize order or authorize and capture it. |
protected
|
#
_declineOrder(
Register order cancellation. Return money to customer if needed. |
protected
|
|
protected
string
|
#
_getRealParentTransactionId(
Return additional information`s transaction_id value of parent transaction model |
ACTION_AUTHORIZE,
ACTION_AUTHORIZE_CAPTURE,
ACTION_ORDER,
STATUS_APPROVED,
STATUS_DECLINED,
STATUS_ERROR,
STATUS_SUCCESS,
STATUS_UNKNOWN,
STATUS_VOID
|
protected
string
|
$_code | 'authorizenet_directpost' |
|
protected
string
|
$_formBlockType | 'directpost/form' |
#
Form block type |
protected
string
|
$_infoBlockType | 'payment/info' |
#
Info block type |
protected
boolean
|
$_canAuthorize | true |
#
Availability options |
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 | false |
|
protected
boolean
|
$_canSaveCc | false |
|
protected
boolean
|
$_isInitializeNeeded | true |
$_canCancelInvoice,
$_canCreateBillingAgreement,
$_canManageRecurringProfiles,
$_canOrder,
$_canReviewPayment
|