Overview

Packages

  • currencysymbol
  • MAbout
  • Mage
    • Admin
    • Adminhtml
    • AdminNotification
    • Api
    • Api2
    • Authorizenet
    • Backup
    • Bundle
    • Captcha
    • Catalog
    • CatalogIndex
    • CatalogInventory
    • CatalogRule
    • CatalogSearch
    • Centinel
    • Checkout
    • Cms
    • Compiler
    • Connect
    • Contacts
    • Core
    • Cron
    • CurrencySymbol
    • Customer
    • Dataflow
    • Directory
    • DirtectPost
    • Downloadable
    • Eav
    • GiftMessage
    • GoogleAnalytics
    • GoogleBase
    • GoogleCheckout
    • ImportExport
    • Index
    • Install
    • Log
    • Media
    • Newsletter
    • Oauth
    • Page
    • PageCache
    • Paygate
    • Payment
    • Paypal
    • PaypalUk
    • Persistent
    • Poll
    • ProductAlert
    • Rating
    • Reports
    • Review
    • Rss
    • Rule
    • Sales
    • SalesRule
    • Sedfriend
    • Sendfriend
    • Shipping
    • Sitemap
    • Tag
    • Tax
    • Usa
    • Weee
    • Widget
    • Wishlist
    • XmlConnect
  • None
  • Phoenix
    • Moneybookers
  • PHP
  • Zend
    • Date
    • Mime
    • XmlRpc

Classes

  • Mage_Paypal_Adminhtml_Paypal_ReportsController
  • Mage_Paypal_Block_Adminhtml_Settlement_Details
  • Mage_Paypal_Block_Adminhtml_Settlement_Details_Form
  • Mage_Paypal_Block_Adminhtml_Settlement_Report
  • Mage_Paypal_Block_Adminhtml_Settlement_Report_Grid
  • Mage_Paypal_Block_Adminhtml_System_Config_ApiWizard
  • Mage_Paypal_Block_Adminhtml_System_Config_Field_Country
  • Mage_Paypal_Block_Adminhtml_System_Config_Field_Hidden
  • Mage_Paypal_Block_Adminhtml_System_Config_Fieldset_Expanded
  • Mage_Paypal_Block_Adminhtml_System_Config_Fieldset_Group
  • Mage_Paypal_Block_Adminhtml_System_Config_Fieldset_Hint
  • Mage_Paypal_Block_Adminhtml_System_Config_Fieldset_Location
  • Mage_Paypal_Block_Adminhtml_System_Config_Fieldset_Payment
  • Mage_Paypal_Block_Adminhtml_System_Config_Fieldset_Store
  • Mage_Paypal_Block_Adminhtml_System_Config_Payflowlink_Advanced
  • Mage_Paypal_Block_Adminhtml_System_Config_Payflowlink_Info
  • Mage_Paypal_Block_Express_Form
  • Mage_Paypal_Block_Express_Review
  • Mage_Paypal_Block_Express_Review_Billing
  • Mage_Paypal_Block_Express_Review_Details
  • Mage_Paypal_Block_Express_Review_Shipping
  • Mage_Paypal_Block_Express_Shortcut
  • Mage_Paypal_Block_Hosted_Pro_Form
  • Mage_Paypal_Block_Hosted_Pro_Iframe
  • Mage_Paypal_Block_Hosted_Pro_Info
  • Mage_Paypal_Block_Iframe
  • Mage_Paypal_Block_Logo
  • Mage_Paypal_Block_Payflow_Advanced_Form
  • Mage_Paypal_Block_Payflow_Advanced_Iframe
  • Mage_Paypal_Block_Payflow_Advanced_Info
  • Mage_Paypal_Block_Payflow_Link_Form
  • Mage_Paypal_Block_Payflow_Link_Iframe
  • Mage_Paypal_Block_Payflow_Link_Info
  • Mage_Paypal_Block_Payment_Info
  • Mage_Paypal_Block_Standard_Form
  • Mage_Paypal_Block_Standard_Redirect
  • Mage_Paypal_Controller_Express_Abstract
  • Mage_Paypal_ExpressController
  • Mage_Paypal_Helper_Data
  • Mage_Paypal_Helper_Hss
  • Mage_Paypal_HostedproController
  • Mage_Paypal_IpnController
  • Mage_Paypal_Model_Api_Abstract
  • Mage_Paypal_Model_Api_Nvp
  • Mage_Paypal_Model_Api_Standard
  • Mage_Paypal_Model_Cart
  • Mage_Paypal_Model_Cert
  • Mage_Paypal_Model_Config
  • Mage_Paypal_Model_Direct
  • Mage_Paypal_Model_Express
  • Mage_Paypal_Model_Express_Checkout
  • Mage_Paypal_Model_Hostedpro
  • Mage_Paypal_Model_Hostedpro_Request
  • Mage_Paypal_Model_Info
  • Mage_Paypal_Model_Ipn
  • Mage_Paypal_Model_Method_Agreement
  • Mage_Paypal_Model_Mysql4_Cert
  • Mage_Paypal_Model_Mysql4_Report_Settlement
  • Mage_Paypal_Model_Mysql4_Report_Settlement_Row
  • Mage_Paypal_Model_Mysql4_Report_Settlement_Row_Collection
  • Mage_Paypal_Model_Mysql4_Setup
  • Mage_Paypal_Model_Observer
  • Mage_Paypal_Model_Payflow_Request
  • Mage_Paypal_Model_Payflowadvanced
  • Mage_Paypal_Model_Payflowlink
  • Mage_Paypal_Model_Payflowpro
  • Mage_Paypal_Model_Payment_Transaction
  • Mage_Paypal_Model_Pro
  • Mage_Paypal_Model_Report_Settlement
  • Mage_Paypal_Model_Report_Settlement_Row
  • Mage_Paypal_Model_Resource_Cert
  • Mage_Paypal_Model_Resource_Report_Settlement
  • Mage_Paypal_Model_Resource_Report_Settlement_Row
  • Mage_Paypal_Model_Resource_Report_Settlement_Row_Collection
  • Mage_Paypal_Model_Resource_Setup
  • Mage_Paypal_Model_Session
  • Mage_Paypal_Model_Standard
  • Mage_Paypal_Model_System_Config_Backend_Cert
  • Mage_Paypal_Model_System_Config_Backend_Cron
  • Mage_Paypal_Model_System_Config_Backend_MerchantCountry
  • Mage_Paypal_Model_System_Config_Source_BuyerCountry
  • Mage_Paypal_Model_System_Config_Source_FetchingSchedule
  • Mage_Paypal_Model_System_Config_Source_Logo
  • Mage_Paypal_Model_System_Config_Source_MerchantCountry
  • Mage_Paypal_Model_System_Config_Source_PaymentActions
  • Mage_Paypal_Model_System_Config_Source_PaymentActions_Express
  • Mage_Paypal_Model_System_Config_Source_RequireBillingAddress
  • Mage_Paypal_Model_System_Config_Source_UrlMethod
  • Mage_Paypal_PayflowadvancedController
  • Mage_Paypal_PayflowController
  • Mage_Paypal_StandardController

Exceptions

  • Mage_Paypal_Exception
  • Overview
  • Package
  • Class
  • Tree

Class Mage_Paypal_Model_Api_Standard

PayPal Standard checkout request API

Varien_Object
Extended by Mage_Paypal_Model_Api_Abstract
Extended by Mage_Paypal_Model_Api_Standard
Package: Mage\Paypal
Copyright: Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
License: Open Software License (OSL 3.0)
Located at code/core/Mage/Paypal/Model/Api/Standard.php
Methods summary
public
# getStandardCheckoutRequest( )

Generate PayPal Standard checkout request fields Depending on whether there are cart line items set, will aggregate everything or display items specifically Shipping amount in cart line items is implemented as a separate "fake" line item

Generate PayPal Standard checkout request fields Depending on whether there are cart line items set, will aggregate everything or display items specifically Shipping amount in cart line items is implemented as a separate "fake" line item

public string
# getBusinessAccount( )

Merchant account email getter

Merchant account email getter

Returns

string

Overrides

Mage_Paypal_Model_Api_Abstract::getBusinessAccount()
public string
# getPaymentAction( )

Payment action getter

Payment action getter

Returns

string

Overrides

Mage_Paypal_Model_Api_Abstract::getPaymentAction()
protected true|null
# _exportLineItems( array & $request, integer $i = 1 )

Add shipping total as a line item. For some reason PayPal ignores shipping total variables exactly when line items is enabled Note that $i = 1

Add shipping total as a line item. For some reason PayPal ignores shipping total variables exactly when line items is enabled Note that $i = 1

Parameters

$request
array
$request
$i
integer
$i

Returns

true|null

Overrides

Mage_Paypal_Model_Api_Abstract::_exportLineItems()
protected
# _importAddress( array & $request )

Import address object, if set, to the request

Import address object, if set, to the request

Parameters

$request
array
$request
protected
# _applyCountryWorkarounds( array & $request )

Adopt specified request array to be compatible with Paypal Puerto Rico should be as state of USA and not as a country

Adopt specified request array to be compatible with Paypal Puerto Rico should be as state of USA and not as a country

Parameters

$request
array
$request
Methods inherited from Mage_Paypal_Model_Api_Abstract
_buildQuery(), _debug(), _exportShippingOptions(), _exportToRequest(), _filterAmount(), _filterBool(), _filterInt(), _filterQty(), _getDataOrConfig(), _importFromResponse(), _importStreetFromAddress(), _lookupRegionCodeFromAddress(), addRecurringPaymentProfiles(), export(), getApiCertificate(), getApiPassword(), getApiSignature(), getApiUsername(), getBuildNotationCode(), getDebugFlag(), getFraudManagementFiltersEnabled(), getHdrbackcolor(), getHdrbordercolor(), getHdrimg(), getLocaleCode(), getPageStyle(), getPayflowcolor(), getProxyHost(), getProxyPort(), getUseCertAuthentication(), getUseProxy(), import(), setConfigObject(), setPaypalCart()
Properties summary
protected array $_globalMap array( // commands 'business' => 'business_account', 'notify_url' => 'notify_url', 'return' => 'return_url', 'cancel_return' => 'cancel_url', 'bn' => 'build_notation_code', 'paymentaction' => 'payment_action', // payment 'invoice' => 'order_id', 'currency_code' => 'currency_code', 'amount' => 'amount', 'shipping' => 'shipping_amount', 'tax' => 'tax_amount', 'discount_amount' => 'discount_amount', // misc 'item_name' => 'cart_summary', // page design settings 'page_style' => 'page_style', 'cpp_header_image' => 'hdrimg', 'cpp_headerback_color' => 'hdrbackcolor', 'cpp_headerborder_color' => 'hdrbordercolor', 'cpp_payflow_color' => 'payflowcolor', // 'cs' => '', // TODO 'lc' => 'locale', )
#

Global interface map and export filters

Global interface map and export filters

protected array $_exportToRequestFilters array( 'amount' => '_filterAmount', 'shipping' => '_filterAmount', 'tax' => '_filterAmount', 'discount_amount' => '_filterAmount', )
#

Filter callbacks for exporting $this data to API call

Filter callbacks for exporting $this data to API call

protected array $_commonRequestFields array( 'business', 'invoice', 'currency_code', 'paymentaction', 'return', 'cancel_return', 'notify_url', 'bn', 'page_style', 'cpp_header_image', 'cpp_headerback_color', 'cpp_headerborder_color', 'cpp_payflow_color', 'amount', 'shipping', 'tax', 'discount_amount', 'item_name', 'lc', )
#

Interface for common and "aggregated order" specific fields

Interface for common and "aggregated order" specific fields

protected array $_debugReplacePrivateDataKeys array('business')
#

Fields that should be replaced in debug with '***'

Fields that should be replaced in debug with '***'

protected array $_lineItemTotalExportMap array( Mage_Paypal_Model_Cart::TOTAL_SUBTOTAL => 'amount', Mage_Paypal_Model_Cart::TOTAL_DISCOUNT => 'discount_amount', Mage_Paypal_Model_Cart::TOTAL_TAX => 'tax', Mage_Paypal_Model_Cart::TOTAL_SHIPPING => 'shipping', )
#

Line items export mapping settings

Line items export mapping settings

protected array $_lineItemExportItemsFormat array( 'id' => 'item_number_%d', 'name' => 'item_name_%d', 'qty' => 'quantity_%d', 'amount' => 'amount_%d', )
#

Line items export to request mapping settings

Line items export to request mapping settings

protected array $_lineItemExportItemsFilters array( 'qty' => '_filterQty' )
#
protected array $_addressMap array( 'city' => 'city', 'country' => 'country_id', 'email' => 'email', 'first_name' => 'firstname', 'last_name' => 'lastname', 'zip' => 'postcode', 'state' => 'region', 'address1' => 'street', 'address2' => 'street2', )
#

Address export to request map

Address export to request map

Properties inherited from Mage_Paypal_Model_Api_Abstract
$_cart, $_config, $_importFromRequestFilters, $_recurringPaymentProfiles, $_shippingOptionsExportItemsFormat
Magento 1.7.0.2 API documentation generated by ApiGen 2.8.0