Class PayPalEvents
- java.lang.Object
-
- org.apache.ofbiz.accounting.thirdparty.paypal.PayPalEvents
-
public class PayPalEvents extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
commonResource
static java.lang.String
module
static java.lang.String
resource
static java.lang.String
resourceErr
-
Constructor Summary
Constructors Constructor Description PayPalEvents()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
callPayPal(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
Initiate PayPal Requeststatic java.lang.String
cancelPayPalOrder(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
Event called when customer cancels a paypal orderstatic java.lang.String
payPalIPN(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
PayPal Call-Back Event
-
-
-
Field Detail
-
resource
public static final java.lang.String resource
- See Also:
- Constant Field Values
-
resourceErr
public static final java.lang.String resourceErr
- See Also:
- Constant Field Values
-
commonResource
public static final java.lang.String commonResource
- See Also:
- Constant Field Values
-
module
public static final java.lang.String module
-
-
Method Detail
-
callPayPal
public static java.lang.String callPayPal(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
Initiate PayPal Request
-
payPalIPN
public static java.lang.String payPalIPN(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.io.IOException
PayPal Call-Back Event- Throws:
java.io.IOException
-
cancelPayPalOrder
public static java.lang.String cancelPayPalOrder(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
Event called when customer cancels a paypal order
-
-