com.mikeblanton.paypal.servlet
Class FileIPNServlet

com.mikeblanton.paypal.servlet.AbstractIPNServlet
  |
  +--com.mikeblanton.paypal.servlet.FileIPNServlet

public class FileIPNServlet
extends AbstractIPNServlet

This Servlet saves invalid and valid IPNs to a file on the filesystem. The name of the file is the Transaction ID of the transaction, or UNKNOWN if there was no Transaction ID. A Timestamp is also written to the file.

The following properties can be used either as Servlet Initialization Properties or System Properties:

The following properties can be specified in the configuration file:

Version:
$Revision: 1.3 $
Author:
Michael Blanton
See Also:
AbstractIPNServlet

Constructor Summary
FileIPNServlet()
           
 
Method Summary
protected  void processInvalidIPN(PayPalData _data, javax.servlet.http.HttpServletRequest _request, javax.servlet.http.HttpServletResponse _response)
          Saves an Invalid IPN to a file.
protected  void processValidIPN(PayPalData _data, javax.servlet.http.HttpServletRequest _request, javax.servlet.http.HttpServletResponse _response)
          Saves a Valid IPN to a file.
 
Methods inherited from class com.mikeblanton.paypal.servlet.AbstractIPNServlet
doGet, doPost
 

Constructor Detail

FileIPNServlet

public FileIPNServlet()
Method Detail

processValidIPN

protected void processValidIPN(PayPalData _data,
                               javax.servlet.http.HttpServletRequest _request,
                               javax.servlet.http.HttpServletResponse _response)
Saves a Valid IPN to a file. The filename is either the Transaction ID of the request, or UNKNOWN if no Transaction ID is associated with the request.
Overrides:
processValidIPN in class AbstractIPNServlet
Following copied from class: com.mikeblanton.paypal.servlet.AbstractIPNServlet
Parameters:
_data -  

processInvalidIPN

protected void processInvalidIPN(PayPalData _data,
                                 javax.servlet.http.HttpServletRequest _request,
                                 javax.servlet.http.HttpServletResponse _response)
Saves an Invalid IPN to a file. The filename is either the Transaction ID of the request, or UNKNOWN if no Transaction ID is associated with the request.
Overrides:
processInvalidIPN in class AbstractIPNServlet
Following copied from class: com.mikeblanton.paypal.servlet.AbstractIPNServlet
Parameters:
_data -