Class Mage_Paypal_Model_Payflowpro
Payflow Pro payment gateway model
- Varien_Object
- Mage_Payment_Model_Method_Abstract
- Mage_Payment_Model_Method_Cc
- Mage_Paypal_Model_Payflowpro
Direct known subclasses
Mage_Paypal_Model_PayflowlinkIndirect 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/Payflowpro.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/Payflowpro.php
public
boolean
|
|
public
string
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
array
|
#
fetchTransactionInfo(
Fetch transaction details info |
protected static
boolean
|
#
_isTransactionUnderReview( string $status )
Check whether the transaction is in payment review status |
protected
string
|
#
_getTransactionUrl( boolean $testMode = null )
Getter for URL to perform Payflow requests, based on test mode by default |
protected
Varien_Object
|
|
protected
Varien_Object
|
#
_buildPlaceRequest( Varien_Object $payment, float $amount )
Return request object with information for 'authorization' or 'sale' action |
protected
Varien_Object
|
#
_buildBasicRequest( Varien_Object $payment )
Return request object with basic information for gateway request |
protected
string
|
|
protected
|
|
protected
|
#
_applyCountryWorkarounds( Varien_Object $address )
Adopt specified address object to be compatible with Paypal Puerto Rico should be as state of USA and not as a country |
protected
|
#
_setReferenceTransaction( Varien_Object $payment, Varien_Object $request )
Set reference transaction data into request |
string |
TRXTYPE_AUTH_ONLY
|
'A' |
#
Transaction action codes |
string |
TRXTYPE_SALE
|
'S' |
|
string |
TRXTYPE_CREDIT
|
'C' |
|
string |
TRXTYPE_DELAYED_CAPTURE
|
'D' |
|
string |
TRXTYPE_DELAYED_VOID
|
'V' |
|
string |
TRXTYPE_DELAYED_VOICE
|
'F' |
|
string |
TRXTYPE_DELAYED_INQUIRY
|
'I' |
|
string |
TENDER_CC
|
'C' |
#
Tender type codes |
string |
TRANSACTION_URL
|
'https://payflowpro.paypal.com/transaction' |
#
Gateway request URLs |
string |
TRANSACTION_URL_TEST_MODE
|
'https://pilot-payflowpro.paypal.com/transaction' |
|
integer |
RESPONSE_CODE_APPROVED
|
0 |
#
Response codes |
integer |
RESPONSE_CODE_INVALID_AMOUNT
|
4 |
|
integer |
RESPONSE_CODE_FRAUDSERVICE_FILTER
|
126 |
|
integer |
RESPONSE_CODE_DECLINED
|
12 |
|
integer |
RESPONSE_CODE_DECLINED_BY_FILTER
|
125 |
|
integer |
RESPONSE_CODE_DECLINED_BY_MERCHANT
|
128 |
|
integer |
RESPONSE_CODE_CAPTURE_ERROR
|
111 |
|
integer |
RESPONSE_CODE_VOID_ERROR
|
108 |
ACTION_AUTHORIZE,
ACTION_AUTHORIZE_CAPTURE,
ACTION_ORDER,
STATUS_APPROVED,
STATUS_DECLINED,
STATUS_ERROR,
STATUS_SUCCESS,
STATUS_UNKNOWN,
STATUS_VOID
|
protected
string
|
$_code |
|
#
Payment method code |
protected
boolean
|
$_isGateway | true |
#
Availability options |
protected
boolean
|
$_canAuthorize | true |
|
protected
boolean
|
$_canCapture | true |
|
protected
boolean
|
$_canCapturePartial | false |
|
protected
boolean
|
$_canRefund | true |
|
protected
boolean
|
$_canVoid | true |
|
protected
boolean
|
$_canUseInternal | true |
|
protected
boolean
|
$_canUseCheckout | true |
|
protected
boolean
|
$_canUseForMultishipping | true |
|
protected
boolean
|
$_canSaveCc | false |
|
protected
boolean
|
$_isProxy | false |
|
protected
boolean
|
$_canFetchTransactionInfo | true |
|
protected
integer
|
$_clientTimeout | 45 |
#
Gateway request timeout |
protected
array
|
$_debugReplacePrivateDataKeys | array('user', 'pwd', 'acct', 'expdate', 'cvv2') |
#
Fields that should be replaced in debug with '***' |
protected
string
|
$_centinelFieldMap | array(
'centinel_mpivendor' => 'MPIVENDOR3DS',
'centinel_authstatus' => 'AUTHSTATUS3DS',
'centinel_cavv' => 'CAVV',
'centinel_eci' => 'ECI',
'centinel_xid' => 'XID',
) |
#
Centinel cardinal fields map |
$_formBlockType,
$_infoBlockType
|