We created a library that can be used
to access DataCash and integrated it with our application. We also looked at Authorize.net,
and we created code that tests credit card transactions processed via Authorize.net.
CHAPTER 20 ?– PROCESSING CREDIT CARD TRANSACTIONS 653
Product Reviews
At this point, we have a complete and functional e-commerce web site. However, this doesn??™t
stop us from adding even more features to make it more useful and pleasant for visitors.
By adding a product reviews system to your web site, you can increase the chances that
visitors will return to your site, either to write a review for a product they bought or to see what
other people think about that product.
A review system can also help you learn your customers??™ tastes, which enables you to
improve the product recommendations and even make changes in the web site or the structure
of the product catalog based on customer feedback.
To make things easy for both the customer and us, we??™ll add the list of product reviews
and the form to add a new product review to the product details pages. The form to add a new
product will show up for only registered users, because we decided not to allow anonymous
reviews (however, you can easily change this if you like). We??™ll create the code for this new feature
in the usual way, starting from the database and finishing with the user interface (UI).
Pages:
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770