Creating the Checkout Page

Now that you’ve created the <cf_PlaceOrder> Custom Tag, actually creating the Checkout page for Orange Whip Studios’ visitors is simple. Listing 22.12 provides the code for the StoreCheckout.cfm page, which users can access via the Checkout link at the top of each page in the online store or by clicking the Checkout button on the StoreCart.cfm page (refer to Figure 22.2).

Listing 22.12. StoreCheckout.cfm—Allowing the User to Complete the Online Transaction
<!--- Filename: StoreCheckout.cfm Created by: Nate Weiss (NMW) Purpose: Provides final Checkout/Payment page Please Note Depends on <CF_PlaceOrder> and StoreCheckoutForm.cfm ---> <!--- Show header images, etc., for Online Store ---> <cfinclude template="StoreHeader.cfm"> ...

Get Adobe ColdFusion 8 Web Application Construction Kit, Volume 1: Getting Started now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.