Class Mage_Paypal_Model_Standard

Description

PayPal Standard Checkout Module

Located in /Paypal/Model/Standard.php (line 33)

Varien_Object
   |
   --Mage_Payment_Model_Method_Abstract
      |
      --Mage_Paypal_Model_Standard
Variable Summary
Method Summary
bool canUseForCurrency (string $currencyCode)
void createFormBlock ( $name)
mixed getConfigData (string $field, [int $storeId = null])
void initialize (string $paymentAction, Varien_Object $stateObject)
bool isAvailable ([Mage_Sales_Model_Quote $quote = null])
Variables
mixed $_canUseForMultishipping = false (line 40)
  • access: protected

Redefinition of:
Mage_Payment_Model_Method_Abstract::$_canUseForMultishipping
mixed $_canUseInternal = false (line 39)
  • access: protected

Redefinition of:
Mage_Payment_Model_Method_Abstract::$_canUseInternal
mixed $_code = Mage_Paypal_Model_Config::METHOD_WPS (line 35)
  • access: protected

Redefinition of:
Mage_Payment_Model_Method_Abstract::$_code
Mage_Paypal_Model_Config $_config = null (line 46)

Config instance

  • access: protected
mixed $_formBlockType = 'paypal/standard_form' (line 36)
  • access: protected

Redefinition of:
Mage_Payment_Model_Method_Abstract::$_formBlockType
mixed $_infoBlockType = 'paypal/payment_info' (line 37)
  • access: protected

Redefinition of:
Mage_Payment_Model_Method_Abstract::$_infoBlockType
mixed $_isInitializeNeeded = true (line 38)
  • access: protected

Redefinition of:
Mage_Payment_Model_Method_Abstract::$_isInitializeNeeded

Inherited Variables

Inherited from Mage_Payment_Model_Method_Abstract

Mage_Payment_Model_Method_Abstract::$_canAuthorize
Mage_Payment_Model_Method_Abstract::$_canCancelInvoice
Mage_Payment_Model_Method_Abstract::$_canCapture
Mage_Payment_Model_Method_Abstract::$_canCapturePartial
Mage_Payment_Model_Method_Abstract::$_canCreateBillingAgreement
Mage_Payment_Model_Method_Abstract::$_canFetchTransactionInfo
Mage_Payment_Model_Method_Abstract::$_canManageRecurringProfiles
Mage_Payment_Model_Method_Abstract::$_canOrder
Mage_Payment_Model_Method_Abstract::$_canRefund
Mage_Payment_Model_Method_Abstract::$_canRefundInvoicePartial
Mage_Payment_Model_Method_Abstract::$_canReviewPayment
Mage_Payment_Model_Method_Abstract::$_canUseCheckout
Mage_Payment_Model_Method_Abstract::$_canVoid
Mage_Payment_Model_Method_Abstract::$_debugReplacePrivateDataKeys
Mage_Payment_Model_Method_Abstract::$_isGateway
Methods
canUseForCurrency (line 54)

Whether method is available for specified currency

  • access: public
bool canUseForCurrency (string $currencyCode)
  • string $currencyCode

Redefinition of:
Mage_Payment_Model_Method_Abstract::canUseForCurrency()
Check method for processing with base currency
createFormBlock (line 93)

Create main block for standard form

  • access: public
void createFormBlock ( $name)
  • $name
getCheckout (line 74)

Get checkout session namespace

  • access: public
getConfig (line 167)

Config instance getter

  • access: public
getConfigData (line 199)

Custom getter for payment configuration

  • access: public
mixed getConfigData (string $field, [int $storeId = null])
  • string $field
  • int $storeId

Redefinition of:
Mage_Payment_Model_Method_Abstract::getConfigData()
Retrieve information from payment configuration
getOrderPlaceRedirectUrl (line 108)

Return Order place redirect url

  • access: public
string getOrderPlaceRedirectUrl ()
getQuote (line 84)

Get current quote

  • access: public
getSession (line 64)

Get paypal session namespace

  • access: public
getStandardCheckoutFormFields (line 118)

Return form field array

  • access: public
array getStandardCheckoutFormFields ()
initialize (line 155)

Instantiate state and set it to state object

  • access: public
void initialize (string $paymentAction, Varien_Object $stateObject)
  • string $paymentAction
  • Varien_Object $stateObject

Redefinition of:
Mage_Payment_Model_Method_Abstract::initialize()
Method that will be executed instead of authorize or capture if flag isInitilizeNeeded set to true
isAvailable (line 184)

Check whether payment method can be used

  • access: public
bool isAvailable ([Mage_Sales_Model_Quote $quote = null])

Redefinition of:
Mage_Payment_Model_Method_Abstract::isAvailable()
Check whether payment method can be used

Inherited Methods

Inherited From Mage_Payment_Model_Method_Abstract

Mage_Payment_Model_Method_Abstract::__construct()
Mage_Payment_Model_Method_Abstract::acceptPayment()
Mage_Payment_Model_Method_Abstract::assignData()
Mage_Payment_Model_Method_Abstract::authorize()
Mage_Payment_Model_Method_Abstract::canAuthorize()
Mage_Payment_Model_Method_Abstract::canCapture()
Mage_Payment_Model_Method_Abstract::canCapturePartial()
Mage_Payment_Model_Method_Abstract::cancel()
Mage_Payment_Model_Method_Abstract::canCreateBillingAgreement()
Mage_Payment_Model_Method_Abstract::canEdit()
Mage_Payment_Model_Method_Abstract::canFetchTransactionInfo()
Mage_Payment_Model_Method_Abstract::canManageBillingAgreements()
Mage_Payment_Model_Method_Abstract::canManageRecurringProfiles()
Mage_Payment_Model_Method_Abstract::canOrder()
Mage_Payment_Model_Method_Abstract::canRefund()
Mage_Payment_Model_Method_Abstract::canRefundPartialPerInvoice()
Mage_Payment_Model_Method_Abstract::canReviewPayment()
Mage_Payment_Model_Method_Abstract::canUseCheckout()
Mage_Payment_Model_Method_Abstract::canUseForCountry()
Mage_Payment_Model_Method_Abstract::canUseForCurrency()
Mage_Payment_Model_Method_Abstract::canUseForMultishipping()
Mage_Payment_Model_Method_Abstract::canUseInternal()
Mage_Payment_Model_Method_Abstract::canVoid()
Mage_Payment_Model_Method_Abstract::capture()
Mage_Payment_Model_Method_Abstract::debugData()
Mage_Payment_Model_Method_Abstract::denyPayment()
Mage_Payment_Model_Method_Abstract::fetchTransactionInfo()
Mage_Payment_Model_Method_Abstract::getCode()
Mage_Payment_Model_Method_Abstract::getConfigData()
Mage_Payment_Model_Method_Abstract::getConfigPaymentAction()
Mage_Payment_Model_Method_Abstract::getDebugFlag()
Mage_Payment_Model_Method_Abstract::getFormBlockType()
Mage_Payment_Model_Method_Abstract::getInfoBlockType()
Mage_Payment_Model_Method_Abstract::getInfoInstance()
Mage_Payment_Model_Method_Abstract::getTitle()
Mage_Payment_Model_Method_Abstract::initialize()
Mage_Payment_Model_Method_Abstract::isAvailable()
Mage_Payment_Model_Method_Abstract::isGateway()
Mage_Payment_Model_Method_Abstract::isInitializeNeeded()
Mage_Payment_Model_Method_Abstract::order()
Mage_Payment_Model_Method_Abstract::prepareSave()
Mage_Payment_Model_Method_Abstract::processBeforeRefund()
Mage_Payment_Model_Method_Abstract::processBeforeVoid()
Mage_Payment_Model_Method_Abstract::processCreditmemo()
Mage_Payment_Model_Method_Abstract::processInvoice()
Mage_Payment_Model_Method_Abstract::refund()
Mage_Payment_Model_Method_Abstract::validate()
Mage_Payment_Model_Method_Abstract::void()
Mage_Payment_Model_Method_Abstract::_debug()
Mage_Payment_Model_Method_Abstract::_getHelper()
Class Constants

Documentation generated on Fri, 11 Feb 2011 17:13:08 +0200 by phpDocumentor 1.4.3