Order Guide
 
 
 
 
Overview of Managing Purchases and Processing Orders 
What Are Order Services? 
High-level Architecture 
Development Roles 
Next Steps 
 
Discounts 
Campaign and Stand-Alone Discounts 
Introduction to How Discounts Work 
Discount Management Service 
Definition Parameters 
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) 
Common JSP Template Elements 
shoppingcart.jsp Template 
Sample Browser View 
Location in the WebLogic Portal 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 Portal 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 Portal 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 Portal Directory Structure 
Tag Library Imports 
Java Package Imports 
Location in Default Webflow 
Events 
Dynamic Data Display 
Form Field Specification 
Input Processors 
InitShippingMethodListIP 
UpdateShippingAddressIP 
ValidateAddressIP 
ValidateShippingInfoIP 
Pipeline Components 
AddShippingAddressPC 
CalculateShippingPC 
DeleteShippingAddressPC 
 
Taxation Services 
Introduction to Web Services 
Simple Object Access Protocol (SOAP) 
Web Services Description Language (WSDL) 
How the Taxation Service Works 
JavaServer Pages (JSPs) 
selecttaxaddress.jsp Template 
Sample Browser View 
Location in the WebLogic Portal 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 
Integrating with a Taxation Service 
If the Third-Party Vendor Hosts the Web Service 
If Your Organization Hosts the Web Service 
 
Payment Services 
How the Payment Service Works 
JavaServer Pages (JSPs) 
payment.jsp Template 
Sample Browser View 
Location in the WebLogic Portal 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 Portal 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 Portal Directory Structure 
Tag Library Imports 
Java Package Imports 
Location in Default Webflow 
Included JSP Templates 
Events 
Dynamic Data Display 
Form Field Specification 
payment_admin.jsp, paymenthistory.jsp, and payment_info.jsp Templates 
payment_admin.jsp 
payment_info.jsp 
paymenthistory.jsp 
Input Processors 
PaymentAuthorizationIP 
UpdatePaymentInfoIP 
Pipeline Components 
PaymentAuthorizationHostPC 
PaymentAuthorizationTerminalPC 
Integrating with a Payment Service 
If the Third-Party Vendor Hosts the Web Service 
If Your Organization Hosts the Web Service 
Default Payment Services Shipped With WebLogic Portal 
Credit Card Encryption 
 
Order Summary and Confirmation Services 
JavaServer Pages (JSPs) 
checkout.jsp Template 
Sample Browser View 
Location in the WebLogic Portal 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 Portal 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 Portal Schema 
Adding Attributes Against the 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 Portal 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 
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 DISCOUNT Database Table 
The DISCOUNT_ASSOCIATION Database Table 
The  ORDER_ADJUSTMENT Database Table 
The ORDER_LINE_ADJUSTMENT Database Table 
The WLCS_CREDIT_CARD Database Table 
The WLCS_CUSTOMER Database Table 
The WLCS_ORDER Database Table 
The WLCS_ORDER_LINE 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 
Scripts 
Defined Constraints