Project Wonder 5.0

er.wopaypal
Class WOPayPal

java.lang.Object
  extended by er.wopaypal.WOPayPal

public class WOPayPal
extends java.lang.Object

WOPayPal is the principal class in the framework. It gets initialized first, and contains the setup for initializing the framework's functionality


Field Summary
static java.lang.Class[] NotificationClassArray
           
static java.lang.String PAYPAL_SANDBOX_URL_BASE
           
static java.lang.String PAYPAL_SECURE_URL_BASE
           
static java.lang.String PAYPAL_URL_BASE
           
static java.lang.String SANDBOX_MODE_PROP
          Property name to determine if we are using the sandbox or the live site
 
Constructor Summary
WOPayPal()
          Constructor.
 
Method Summary
static java.lang.StringBuffer baseUrl()
          Return the base URL for the PayPal site, either the live or sandbox URL.
static boolean isSandboxMode()
          Does the er.wopaypal.sandboxmode is set to true?
static void registerPayPalNotificationListenerObservers()
          registerPayPalNotificationListenerObservers sets up the observer in the PayPalNotificationListener to receive notifications of Instant Payment Notifications from the PayPalAction class' ipnAction method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PAYPAL_URL_BASE

public static final java.lang.String PAYPAL_URL_BASE
See Also:
Constant Field Values

PAYPAL_SECURE_URL_BASE

public static final java.lang.String PAYPAL_SECURE_URL_BASE
See Also:
Constant Field Values

PAYPAL_SANDBOX_URL_BASE

public static final java.lang.String PAYPAL_SANDBOX_URL_BASE
See Also:
Constant Field Values

NotificationClassArray

public static final java.lang.Class[] NotificationClassArray

SANDBOX_MODE_PROP

public static final java.lang.String SANDBOX_MODE_PROP
Property name to determine if we are using the sandbox or the live site

See Also:
Constant Field Values
Constructor Detail

WOPayPal

public WOPayPal()
Constructor.

Method Detail

registerPayPalNotificationListenerObservers

public static void registerPayPalNotificationListenerObservers()
registerPayPalNotificationListenerObservers sets up the observer in the PayPalNotificationListener to receive notifications of Instant Payment Notifications from the PayPalAction class' ipnAction method.


isSandboxMode

public static final boolean isSandboxMode()
Does the er.wopaypal.sandboxmode is set to true?


baseUrl

public static final java.lang.StringBuffer baseUrl()
Return the base URL for the PayPal site, either the live or sandbox URL.


Last updated: Tue, Feb 21, 2017 • 05:45 PM CET

Copyright © 2002 – 2007 Project Wonder.