Class Mage_Paypal_Model_Hostedpro
Website Payments Pro Hosted Solution payment gateway model
- Varien_Object
- Mage_Payment_Model_Method_Abstract
- Mage_Payment_Model_Method_Cc
- Mage_Paypal_Model_Direct
- Mage_Paypal_Model_Hostedpro
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/Hostedpro.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/Hostedpro.php
public
boolean
|
#
getAllowedCcTypes( )
Return available CC types for gateway based on merchant country. We do not have to check the availability of card types. |
public
string
|
#
getMerchantCountry( )
Return merchant country code from config, use default country if it not specified in General settings |
public
boolean
|
|
public
Mage_Payment_Model_Abstract
|
#
initialize( string $paymentAction, Varien_Object $stateObject )
Instantiate state and set it to state object |
protected
|
#
_setPaymentFormUrl(
Sends API request to PayPal to get form URL, then sets this URL to $payment object. |
protected
|
#
_buildFormUrlRequest(
Returns request object with needed data for API request to PayPal to get form URL. |
protected
string
|
#
_sendFormUrlRequest(
Returns form URL from request to PayPal. |
protected
|
|
public
string
|
|
public
string
|
|
public
string
|
|
protected
string
|
string |
BM_BUTTON_CODE
|
'TOKEN' |
#
Button code |
string |
BM_BUTTON_TYPE
|
'PAYMENT' |
#
Button type |
string |
BM_BUTTON_METHOD
|
'BMCreateButton' |
#
Paypal API method name for button creation |
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
string
|
$_formBlockType | 'paypal/hosted_pro_form' |
|
protected
string
|
$_infoBlockType | 'paypal/hosted_pro_info' |
|
protected
boolean
|
$_canUseInternal | false |
#
Availability options |
protected
boolean
|
$_canUseForMultishipping | false |
|
protected
boolean
|
$_canSaveCc | false |
|
protected
boolean
|
$_isInitializeNeeded | true |
$_canCancelInvoice,
$_canCreateBillingAgreement,
$_canManageRecurringProfiles,
$_canOrder,
$_debugReplacePrivateDataKeys
|