Much of the modification made in
this chapter lays the groundwork for the order pipeline to be used in the rest of this book. We??™ve
also included a quick way to examine customer orders, although this is by no means a fully
fleshed-out administration tool??”that will come later.
We also implemented a simple system for adding tax and shipping charges to orders. This
system is far from being a universal solution, but it works, and it??™s simple. More importantly,
the techniques can easily be built on to introduce more complex algorithms and user interaction
to select tax and shipping options and price orders accordingly.
From the next chapter onward, we??™ll be expanding on the customer ordering system even
more by starting to develop a professional order pipeline for order processing.
CHAPTER 17 ?– STORING CUSTOMER ORDERS 568
Implementing the Order
Pipeline: Part 1
Implementing the order pipeline is the first step we??™re making for creating a professional
order management system. In this and the next chapter, we??™ll build our own order-processing
pipeline that deals with credit card authorization, stock checking, shipping, e-mail notification,
and so on. We??™ll leave the credit card??“processing specifics for Chapter 20, but in this chapter,
we??™ll show you where this process fits into the picture.
Order pipeline functionality is an extremely useful capability for an e-commerce site.
Pages:
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683