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:
paypaltools.valid.ipn.file.dir
: Directory to store valid files. ./
by default.
paypaltools.invalid.ipn.file.dir
: Directory to store invalid files.
./
by default.
The following properties can be specified in the configuration file:
valid.ipn.file.dir
: Directory to store valid files. ./
by default.
invalid.ipn.file.dir
: Directory to store invalid files. ./
by default.
- Version:
- $Revision: 1.3 $
- Author:
- Michael Blanton
- See Also:
AbstractIPNServlet
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. |
FileIPNServlet
public FileIPNServlet()
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
-