Class PayPalHelper

This class provides a light wrapper around several PayPal operations including
creating a URL to redirect to PayPal, and a PostBack implementations for
IPN notifications.

PayPal operation differs significantly from the other Credit Card processing classes in this group, since PayPal is not a straight transactional interface, but requires going through PayPal's Web interface. This class only provides a few helper methods to facilitate this process, but additional code is required to hook this logic into the Web application flow.

For more information see How PayPal Integration works.


What do you need:

System.Object
  <b>Westwind.WebStore.PayPalHelper</b>

Class Members

MemberDescription

AccountEmail

The email address of your account

Amount

The amount of this order to have PayPal process

BuyerEmail

The email address of the buyer. This email will be pre-displayed

CancelUrl

The URL PayPal redirects back to when it failed to completed processing.

InvoiceNo

Optional invoice number that can co-relate your order with PayPal.

ItemName

The description of the purchase that is displayed on PayPal's forms

LastResponse

Returns the raw response from PayPal on an IPN request. This value

LogoUrl

Fully qualified Url to an optional image to display on the PayPal Order Form

PayPalBaseUrl

The base URL used to connect to PayPal. Use this to set live
or sandbox access to PayPal.

SuccessUrl

The URL PayPal redirects back to when it successfully has completed processing.

GetSubmitUrl

Builds a PayPal processing Url based on the property
settings of this object. You can use the resulting
Url to Redirect to PayPal.

public String GetSubmitUrl()

IPNPostDataToPayPal

Posts all form variables received back to PayPal. This method is used on

public Boolean IPNPostDataToPayPal(String PayPalUrl, String PayPalEmail, Decimal OrderAmount)

Requirements

Namespace: Westwind.WebStore
Assembly: wwwebstore.dll

© West Wind Technologies, 1996-2018 • Updated: 09/03/04
Comment or report problem with topic