an ASP.NET Open Source CMS & eCommerce platform
Search:
Skip Navigation LinksHome > DotShoppingCart Forums > Support > DotShoppingCart Suite > PayPal Instant Payment Notifications (IPN) Fail...
Last Post 10/19/2010 12:03:29 AM By lukezy. 7 replies.
10/18/2010 12:20:48 PM
igot2fish
Posts: 8
Joined: 7/13/2009
PayPal Instant Payment Notifications (IPN) Failure
My store is now live and I have started receiving email from PayPal stating that the IPN's are failing.  I checke the error log on the server and here is the contents:<span style="color: black; font-size: 12pt">
</span>
Log Name:      DotShoppingCart
Source:        DotShoppingCart
Date:          10/16/2010 6:47:01 AM
Event ID:      100
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      IFGWEB
Description:
Timestamp: 10/16/2010 1:47:01 PM
Message: HandlingInstanceID: 78935117-7f47-4f9a-a460-948a22c34df0
An exception of type 'System.Web.HttpUnhandledException' occurred and was caught.
---------------------------------------------------------------------------------
10/16/2010 06:47:01
Type : System.Web.HttpUnhandledException, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Message : Exception of type 'System.Web.HttpUnhandledException' was thrown.
Source : System.Web
Help link :
ErrorCode : -2147467259
Data : System.Collections.ListDictionaryInternal
TargetSite : Boolean HandleError(System.Exception)
Stack Trace :    at System.Web.UI.Page.HandleError(Exception e)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest()
   at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
   at System.Web.UI.Page.ProcessRequest(HttpContext context)
   at ASP.store_paypalipnhandler_aspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\72f72a9a\280b4028\App_Web_lwlizuf2.40.cs:line 0
   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Additional Info:
MachineName : IFGWEB
TimeStamp : 10/16/2010 1:47:01 PM
FullName : Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=4.1.0.0, Culture=neutral, PublicKeyToken=null
AppDomainName : /LM/W3SVC/2/ROOT-1-129317104173911250
ThreadIdentity :
WindowsIdentity : NT AUTHORITY\NETWORK SERVICE
 Inner Exception
 ---------------
 Type : System.ApplicationException, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
 Message : PayPal IPN Invalid
 Source : App_Web_lwlizuf2
 Help link :
 Data : System.Collections.ListDictionaryInternal
 TargetSite : Void Page_Load(System.Object, System.EventArgs)
 Stack Trace :    at PaypalIPNHandler.Page_Load(Object sender, EventArgs e) in c:\webs\tackleit\Store\PaypalIPNHandler.aspx.cs:line 68
    at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
    at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
    at System.Web.UI.Control.OnLoad(EventArgs e)
    at System.Web.UI.Control.LoadRecursive()
    at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Category: General
Priority: 0
EventId: 100
Severity: Error
Title:Enterprise Library Exception Handling
Machine: IFGWEB
Application Domain: /LM/W3SVC/2/ROOT-1-129317104173911250
Process Id: 2352
Process Name: c:\windows\system32\inetsrv\w3wp.exe
Win32 Thread Id: 3712
Thread Name:
Extended Properties: Url - https://store.tackleit.biz/Store/PaypalIPNHandler.aspx
RawUrl - /Store/PaypalIPNHandler.aspx
UseAgent - Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB6; .NET CLR 1.0.3705; .NET CLR 1.1.4322; Media Center PC 4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
UrlReferrer - http://sz0059.ev.mail.comcast.net/zimbra/mail
IPAddress - 75.61.193.189
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="DotShoppingCart" />
    <EventID Qualifiers="0">100</EventID>
    <Level>2</Level>
    <Task>0</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2010-10-16T13:47:01.000Z" />
    <EventRecordID>553</EventRecordID>
    <Channel>DotShoppingCart</Channel>
    <Computer>IFGWEB</Computer>
    <Security />
  </System>
  <EventData>
    <Data>Timestamp: 10/16/2010 1:47:01 PM
Message: HandlingInstanceID: 78935117-7f47-4f9a-a460-948a22c34df0
An exception of type 'System.Web.HttpUnhandledException' occurred and was caught.
---------------------------------------------------------------------------------
10/16/2010 06:47:01
Type : System.Web.HttpUnhandledException, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Message : Exception of type 'System.Web.HttpUnhandledException' was thrown.
Source : System.Web
Help link :
ErrorCode : -2147467259
Data : System.Collections.ListDictionaryInternal
TargetSite : Boolean HandleError(System.Exception)
Stack Trace :    at System.Web.UI.Page.HandleError(Exception e)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest()
   at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
   at System.Web.UI.Page.ProcessRequest(HttpContext context)
   at ASP.store_paypalipnhandler_aspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\72f72a9a\280b4028\App_Web_lwlizuf2.40.cs:line 0
   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp; completedSynchronously)
Additional Info:
MachineName : IFGWEB
TimeStamp : 10/16/2010 1:47:01 PM
FullName : Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=4.1.0.0, Culture=neutral, PublicKeyToken=null
AppDomainName : /LM/W3SVC/2/ROOT-1-129317104173911250
ThreadIdentity :
WindowsIdentity : NT AUTHORITY\NETWORK SERVICE
 Inner Exception
 ---------------
 Type : System.ApplicationException, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
 Message : PayPal IPN Invalid
 Source : App_Web_lwlizuf2
 Help link :
 Data : System.Collections.ListDictionaryInternal
 TargetSite : Void Page_Load(System.Object, System.EventArgs)
 Stack Trace :    at PaypalIPNHandler.Page_Load(Object sender, EventArgs e) in c:\webs\tackleit\Store\PaypalIPNHandler.aspx.cs:line 68
    at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
    at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
    at System.Web.UI.Control.OnLoad(EventArgs e)
    at System.Web.UI.Control.LoadRecursive()
    at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Category: General
Priority: 0
EventId: 100
Severity: Error
Title:Enterprise Library Exception Handling
Machine: IFGWEB
Application Domain: /LM/W3SVC/2/ROOT-1-129317104173911250
Process Id: 2352
Process Name: c:\windows\system32\inetsrv\w3wp.exe
Win32 Thread Id: 3712
Thread Name:
Extended Properties: Url - https://store.tackleit.biz/Store/PaypalIPNHandler.aspx
RawUrl - /Store/PaypalIPNHandler.aspx
UseAgent - Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB6; .NET CLR 1.0.3705; .NET CLR 1.1.4322; Media Center PC 4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
UrlReferrer - http://sz0059.ev.mail.comcast.net/zimbra/mail
IPAddress - 75.61.193.189
</Data>
  </EventData>
</Event>
 
 
10/18/2010 12:57:20 PM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: PayPal Instant Payment Notifications (IPN) Failure
This exception was what you clicked the url from your email http://sz0059.ev.mail.comcast.net/zimbra/mail. The url is not for browsing. Find the exception called from PayPal. The exception would contain word "response".
DotShoppingCart Staff
10/18/2010 1:20:57 PM
igot2fish
Posts: 8
Joined: 7/13/2009
Re: PayPal Instant Payment Notifications (IPN) Failure
Please forgive my ignorance.  I copied this directly from the DotShoppingCart event log on the server.  Below is the only other event(s) in application log but the word response does not appear in the message.  Where would I find the exception called from PayPal?
 
<span lang="EN">

Event code: 3005

Event message: An unhandled exception has occurred.

Event time: 10/18/2010 12:31:10 PM

Event time (UTC): 10/18/2010 7:31:10 PM

Event ID: c98d3f44e56a45c88cde078a09813e85

Event sequence: 16

Event occurrence: 1

Event detail code: 0

 

Application information:

Application domain: /LM/W3SVC/2/ROOT-1-129319033293442500

Trust level: Full

Application Virtual Path: /

Application Path: C:\webs\tackleit\

Machine name: IFGWEB

 

Process information:

Process ID: 3920

Process name: w3wp.exe

Account name: NT AUTHORITY\NETWORK SERVICE

 

Exception information:

Exception type: ApplicationException

Exception message: PayPal IPN Invalid

 

Request information:

Request URL: https://store.tackleit.biz:443/Store/PaypalIPNHandler.aspx

Request path: /Store/PaypalIPNHandler.aspx

User host address: 66.211.170.66

User:

Is authenticated: False

Authentication Type:

Thread account name: NT AUTHORITY\NETWORK SERVICE

 

Thread information:

Thread ID: 6

Thread account name: NT AUTHORITY\NETWORK SERVICE

Is impersonating: False

Stack trace: at PaypalIPNHandler.Page_Load(Object sender, EventArgs e) in c:\webs\tackleit\Store\PaypalIPNHandler.aspx.cs:line 68

at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)

at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)

at System.Web.UI.Control.OnLoad(EventArgs e)

at System.Web.UI.Control.LoadRecursive()

at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

 

 

Custom event details:

</span>
10/18/2010 1:38:40 PM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: PayPal Instant Payment Notifications (IPN) Failure
These exceptions were result of clicking the url directly. I would suggest you place a test order via PayPal and see how it goes.
DotShoppingCart Staff
10/18/2010 2:59:21 PM
igot2fish
Posts: 8
Joined: 7/13/2009
Re: PayPal Instant Payment Notifications (IPN) Failure
I ran a test sale.  In the payment transaction secition the following error is recorded::
 
LongMessage: Authorization has already been completed. ShortMessage: Authorization completed. ErrorCode: 10602
 
In the notes section the following error is recorded:
 
Order Processor (CreditCardCapture) failed due to Payment transaction failed. [Delayed - Order Under Review]
 
The transaction was captured in PayPal for the total amount and then returned to the store to Confirm Stock.  I received an email that stated that the payment failed even though the payment cleared in PayPal and was reflected in the balance.
10/18/2010 3:52:14 PM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: PayPal Instant Payment Notifications (IPN) Failure
Please describe what steps you did in sequence. Posting back the note session may help us further diagnose your issue.
DotShoppingCart Staff
10/18/2010 10:55:27 PM
igot2fish
Posts: 8
Joined: 7/13/2009
Re: PayPal Instant Payment Notifications (IPN) Failure
I figured out what the problem is, OPERATOR ERROR.  I was logging into PayPal and manually capturing the payment before the confirming stock step.  I went back and re-read the online documentation and followed the order pipeline process.  Per the documentation it worked like a charm.  Sorry for the hassle.
10/19/2010 12:03:29 AM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: PayPal Instant Payment Notifications (IPN) Failure
Ok, it looks like you are using PayPal express checkour or PayPal direct payment pro. If so, you don't need to set up PayPal IPN which is part of PayPal Standard payment. Glad it worked out for you.
DotShoppingCart Staff