Professional CodeIgniter, Thomas Myer

Chapter 10: Launch
297
?
>
<
/table
>
<
/form
>
<
div id='ajax_msg'
>
<
/div
>
<
/div
>

As a visual reminder, Figure 10 - 1 shows what the shoppingcart view might look like when loaded in a
browser.

Figure 10 - 1

What you want is for the user to click the Checkout button and transfer all the information in the PHP
session array called cart to a checkout process. For simplicity ' s sake, you ' re going to integrate the cart
with Google Checkout, which is Claudia ' s preferred vendor.

There are many vendors out there that you can integrate a shopping cart with. The two best - known ones
are PayPal and Google Checkout, but others, like PayPro Flow (from VeriSign) and Authorize.Net, also
have significant followings. All of the systems work in fairly similar ways: You prepare the information
to their specifications, and then you pass along that information in a way they can easily parse. Most of
the lessons learned in this chapter will apply generally to most of these systems.
c10.indd 297
c10.indd 297
6/10/08 5:38:34 PM
6/10/08 5:38:34 PM


Другие страницы

 
Cкачать книги бесплатно без регистрации в электронном виде (pdf, chm, txt).Вы можете читать книги онлайн на нашем сайте литературного портала книг.Большая подборка учебников, пособий, интересных книг.Электронные книги на английском языке скачать бесплатно без смс.

OK

Loading...
...
Закрыть