Class Mage_Paypal_Model_Ipn
PayPal Instant Payment Notification processor model
Copyright: Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
License: Open Software License (OSL 3.0)
Located at code/core/Mage/Paypal/Model/Ipn.php
public
array|string
|
|
public
|
#
processIpnRequest( array $request, Zend_Http_Client_Adapter_Interface $httpAdapter = null )
Get ipn data, send verification to PayPal, run corresponding handler |
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
#
_processOrder( )
IPN workflow implementation Everything should be added to order comments. In positive processing cases customer will get email notifications. Admin will be notified on errors. |
protected
|
|
protected
|
#
_registerRecurringProfilePaymentCapture( )
Register recurring payment notification, create and process order |
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
public
|
|
protected
|
|
protected
|
|
protected
|
#
_registerMasspaymentsSuccess( )
TODO The status "Processed" is used when all Masspayments are successful |
protected
string|
|
#
_createIpnComment( string $comment = '', boolean $addToHistory = false )
Generate an "IPN" comment with additional explanation. Returns the generated comment or order status history object |
protected
boolean
|
#
_importPaymentInformation( )
Map payment information from IPN to payment object Returns true if there were changes in information |
protected
string
|
#
_filterPaymentStatus( string $ipnPaymentStatus )
Filter payment status from NVP into paypal/info format |
protected
|
string |
DEFAULT_LOG_FILE
|
'paypal_unknown_ipn.log' |
#
Default log filename |
protected
mixed
|
$_order | null |
|
protected
mixed
|
$_recurringProfile | null |
|
protected
|
$_config | null |
|
protected
|
$_info | null |
#
PayPal info instance |
protected
array
|
$_request | array() |
#
IPN request data |
protected
array
|
$_debugData | array() |
#
Collected debug information |