BEA Logo BEA WLCS Release 3.5

  BEA Home  |  Events  |  Solutions  |  Partners  |  Products  |  Services  |  Download  |  Developer Center  |  WebSUPPORT

 

   WLCS Documentation   |   Order Processing   |   Previous Topic   |   Next Topic   |   Contents   |   Index

Order Processing

 

Welcome to Managing Purchases and Processing Orders!

The process customers go through when making a purchase from your e-commerce site is one of the most common but complex aspects of an e-business. To help you get to market faster than your competitors, BEA WebLogic Commerce Server provides you with advanced purchasing and order processing functionality. This service contains default implementations for the most common e-business order-related services (such as shopping cart management, discounts, taxation, payment, and so on). Designed to be used out-of-the-box, the Managing Purchases and Processing Orders system allows your site designers to customize the order process without the need for advanced programming skills. Additionally, it is easily extensible for those with advanced technical knowledge. This topic provides background information about managing purchases and processing orders, and introduces you to the types of services that are available.


 



 

 

Overview of Managing Purchases and Processing Orders

What Is Managing Purchases and Processing Orders services?

High-level Architecture

Development Roles

Next Steps

 

Discounts

User and Global Discounts

Introduction to How Discounts Work

Discount Management Service

Definition Parameters

Saving Versus Deploying Discounts

Association Service

Price Service

Triggers and Targets Specifications

Two Examples of Using Triggers and Targets

Consumption Model

How Discounts Are Applied

Priority

How Discounts Are Calculated

Examples

Item Discounts

Form of Discount Rules

Order Rules

 

Shopping Cart Management Services

JavaServer Pages (JSPs)

shoppingcart.jsp Template

Sample Browser View

Location in the WebLogic Commerce Server Directory Structure

Tag Library Imports

Java Package Imports

Location in Default Webflow

Events

Dynamic Data Display

Form Field Specification

Input Processors

DeleteProductItemFromShoppingCartIP

EmptyShoppingCartIP

InitShoppingCartIP

UpdateShoppingCartQuantitiesIP

UpdateSkuIP

Pipeline Components

DeleteProductItemFromSavedListPC

MoveProductItemToSavedListPC

MoveProductItemToShoppingCartPC

RefreshSavedListPC

PriceShoppingCartPC

AddToCartTrackerPC

RemoveFromCartTrackerPC

UpdateShoppingCartQuantitiesTrackerPC

 

Shipping Services

JavaServer Pages

shipping.jsp Template

Sample Browser View

Location in the WebLogic Commerce Server Directory Structure

Tag Library Imports

Java Package Imports

Location in Default Webflow

Events

Dynamic Data Display

Form Field Specification

selectaddress.jsp Template

Sample Browser View

Location in the WebLogic Commerce Server Directory Structure

Tag Library Imports

Java Package Imports

Location in Default Webflow

Events

Dynamic Data Display

Form Field Specification

addaddress.jsp Template

Sample Browser View

Location in the WebLogic Commerce Server Directory Structure

Tag Library Imports

Java Package Imports

Location in Default Webflow

Included JSP Templates

Events

Dynamic Data Display

Form Field Specification

Input Processors

InitShippingMethodListIP

UpdateShippingAddressIP

ValidateAddressIP

ValidateShippingInfoIP

Pipeline Components

AddShippingAddressPC

CalculateShippingPC

DeleteShippingAddressPC

 

Taxation Services

JavaServer Pages (JSPs)

selecttaxaddress.jsp Template

Sample Browser View

Location in the WebLogic Commerce Server Directory Structure

Tag Library Imports

Java Package Imports

Location in Default Webflow

Included JSP Templates

Events

Dynamic Data Display

Form Field Specification

Input Processors

DecideShippingAddressPageIP

UpdateShippingAddressIP

Pipeline Components

TaxCalculateLineLevelPC

TaxCalculateAndCommitLineLevelPC

TaxVerifyShippingAddressPC

Integration with TAXWARE

Important TAXWARE Considerations

TAXWARE Installation

Installation Directory Structure

Testing the TAXWARE Installation

Changing the TAXWARE Directory Structure

TAXWARE Configuration and Deployment

Addresses and Taxation

TAXWARE-Specific Properties

Run-Time Configuration

Configuring the HTTP Server for TAXWARE

Tax Codes and the Product Catalog

Updating TAXWARE Tax Data

TAXWARE Checklist

Viewing Debugging Information in TAXWARE

Removing Tax Calculations

Modifying the Pipeline Properties File

Modifying the Webflow Properties File

What if I Don't Want to Use TAXWARE to Calculate My Taxes?

 

Payment Services

JavaServer Pages (JSPs)

payment.jsp Template

Sample Browser View

Location in the WebLogic Commerce Server Directory Structure

Tag Library Imports

Java Package Imports

Location in Default Webflow

Included JSP Templates

Events

Dynamic Data Display

Form Field Specification

paymentnewcc.jsp Template

Sample Browser View

Location in the WebLogic Commerce Server Directory Structure

Tag Library Imports

Java Package Imports

Location in Default Webflow

Included JSP Templates

Events

Dynamic Data Display

Form Field Specification

paymenteditcc.jsp Template

Sample Browser View

Location in the WebLogic Commerce Server Directory Structure

Tag Library Imports

Java Package Imports

Location in Default Webflow

Included JSP Templates

Events

Dynamic Data Display

Form Field Specification

Input Processors

PaymentAuthorizationIP

UpdatePaymentInfoIP

Pipeline Components

PaymentAuthorizationHostPC

PaymentAuthorizationTerminalPC

Integration with CyberCash

Configuration Activities for Using CyberCash

Payment Models

How Do I Switch Between the Two Payment Models?

What if I Don't Want to Use CyberCash for Credit Card Processing?

Credit Card Security Service

Encryption/Decryption Implementation

Customizable Security Settings

Methods for Supplying the Private Key Encryption Password

Specifying the Password in weblogiccommerce.properties (Default)

Specifying the Password at Server Startup Using the Console

Specifying the Password After Server Startup Using a Secure Web Form

Important Notes About Supplying Your Password

What if I Want to Change My Password?

 

Order Summary and Confirmation Services

JavaServer Pages (JSPs)

checkout.jsp Template

Sample Browser View

Location in the WebLogic Commerce Server Directory Structure

Tag Library Imports

Java Package Imports

Location in Default Webflow

Events

Dynamic Data Display

Form Field Specification

confirmorder.jsp Template

Sample Browser View

Location in the WebLogic Commerce Server Directory Structure

Tag Library Imports

Java Package Imports

Location in Default Webflow

Events

Dynamic Data Display

Form Field Specification

Input Processors

Pipeline Components

CommitOrderPC

ResetCheckoutPC

PurchaseTrackerPC

 

Extending the Data Model

Data Model Extensions

Persistence Architecture

Adding Run-Time Attributes to Customer Data

Adding Run-Time Attributes to Other Entities

Extending the Schema

Overview of Approach to Extending the WebLogic Commerce Server Schema

Adding Attributes Against WLCS_CUSTOMER, WLCS_ORDER, WLCS_TRANSACTION and WLCS_SHIPPING_METHOD Tables

Adding Attributes Against the WLCS_ORDER_LINE Table

Adding Attributes Against the WLCS_CREDIT_CARD and WLCS_SHIPPING_ADDRESS Tables

Transaction Management

 

Using the Order and Payment Management Pages

Starting the WebLogic Commerce Server Administration Tools

Using the Order Management Search Page

Searching for an Order by Customer ID

Searching for an Order by Order Identifier Number

Searching for an Order by Date Range

Updating Order Status

Changing Order Status

Tailoring Order Status To Your Business

Using the Payment Management Search Page

Searching for a Payment by Customer ID

Searching for a Payment by Status

Authorizing, Capturing, and Settling Payments

Authorizing the Transaction

Capturing the Transaction

Settling the Transaction

 

The Order Processing Database Schema

The Entity-Relation Diagram

List of Tables Comprising the Order Processing Schema

The Order Processing Data Dictionary

The WLCS_CREDIT_CARD Database Table

The WLCS_COUNTRY Database Table

The WLCS_CURRENCY Database Table

The WLCS_CUSTOMER Database Table

The DISCOUNT Database Table

The DISCOUNT_ASSOCIATION Database Table

The DISCOUNT_SET Database Table

The WLCS_ORDER Database Table

The WLCS_ORDER_LINE Database Table

The ORDER_ADJUSTMENT Database Table

The ORDER_LINE_ADJUSTMENT Database Table

The WLCS_SAVED_ITEM_LIST Database Table

The WLCS_SECURITY Database Table

The WLCS_SHIPPING_ADDRESS Database Table

The WLCS_SHIPPING_METHOD Database Table

The WLCS_TRANSACTION Database Table

The WLCS_TRANSACTION_ENTRY Database Table

The SQL Scripts Used to Create the Database

Cloudscape

Oracle

Defined Constraints

 

 

back to top   next page