Class Mage_Paypal_Model_Payflowlink
Payflow Link payment gateway model
- Varien_Object
- Mage_Payment_Model_Method_Abstract
- Mage_Payment_Model_Method_Cc
- Mage_Paypal_Model_Payflowpro
- Mage_Paypal_Model_Payflowlink
Direct known subclasses
Mage_Paypal_Model_Payflowadvanced
Package: Mage\Paypal
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/Paypal/Model/Payflowlink.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/Paypal/Model/Payflowlink.php
public
boolean
|
|
public
boolean
|
|
public
Mage_Payment_Model_Abstract
|
#
initialize( string $paymentAction, Varien_Object $stateObject )
Instantiate state and set it to state object |
public
Mage_Mage_Paypal_Model_Payflow_Request
|
|
public
|
|
public
|
|
protected
|
#
_processOrder(
Operate with order using information from silent post |
protected
string|boolean
|
|
protected
|
|
protected
Varien_Object
|
|
protected
integer
|
|
protected
|
#
_buildBasicRequest( Varien_Object $payment )
Return request object with basic information for gateway request |
protected
string
|
|
protected
string
|
|
protected
mixed
|
|
protected
|
#
_processTokenErrors( Varien_Object $response,
If response is failed throw exception Set token data in payment object |
protected
string
|
#
_getSecureSilentPostHash(
Return secure hash value for silent post request |
protected
string
|
#
_generateSecureSilentPostHash(
Generate end return new secure hash value |
public
string
|
|
protected
string
|
string |
LAYOUT_TEMPLATE
|
'minLayout' |
#
Default layout template |
string |
TRANSACTION_PAYFLOW_URL
|
'https://payflowlink.paypal.com/' |
#
Gateway request URL |
string |
RESPONSE_ERROR_MSG
|
'Payment error. %s was not found.' |
#
Error message |
ACTION_AUTHORIZE,
ACTION_AUTHORIZE_CAPTURE,
ACTION_ORDER,
STATUS_APPROVED,
STATUS_DECLINED,
STATUS_ERROR,
STATUS_SUCCESS,
STATUS_UNKNOWN,
STATUS_VOID
|
protected
string
|
$_callbackController | 'payflow' |
#
Controller for callback urls |
protected
array
|
$_responseParamsMappings | array(
'firstname' => 'billtofirstname',
'lastname' => 'billtolastname',
'address' => 'billtostreet',
'city' => 'billtocity',
'state' => 'billtostate',
'zip' => 'billtozip',
'country' => 'billtocountry',
'phone' => 'billtophone',
'email' => 'billtoemail',
'nametoship' => 'shiptofirstname',
'addresstoship' => 'shiptostreet',
'citytoship' => 'shiptocity',
'statetoship' => 'shiptostate',
'ziptoship' => 'shiptozip',
'countrytoship' => 'shiptocountry',
'phonetoship' => 'shiptophone',
'emailtoship' => 'shiptoemail',
'faxtoship' => 'shiptofax',
'method' => 'tender',
'cscmatch' => 'cvv2match',
'type' => 'trxtype',
) |
#
Response params mappings |
protected
string
|
$_code |
|
#
Payment method code |
protected
string
|
$_formBlockType | 'paypal/payflow_link_form' |
|
protected
string
|
$_infoBlockType | 'paypal/payflow_link_info' |
|
protected
boolean
|
$_canUseInternal | false |
#
Availability options |
protected
boolean
|
$_canUseForMultishipping | false |
|
protected
boolean
|
$_isInitializeNeeded | true |
|
protected
|
$_response |
|
#
Request & response model |
protected
string
|
$_secureSilentPostHashKey | 'secure_silent_post_hash' |
#
Key for storing secure hash in additional information of payment model |
$_canCancelInvoice,
$_canCreateBillingAgreement,
$_canManageRecurringProfiles,
$_canOrder,
$_canRefundInvoicePartial,
$_canReviewPayment
|