O'Reilly logo

Effortless E-Commerce with PHP and MySQL by Larry Ullman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

10: Checking Out

The next step in the evolution of the Coffee site is to incorporate the payment processing system that will allow customers to complete their order. For this project, I’ve chosen Authorize.net as the payment processor. The first several pages of the chapter talk about Authorize.net and walk you through setting up a test account there. Once you have a test account, you can write the entire checkout process.

There are four parts to the checkout process:

1. Take and validate the shipping information.

2. Take and validate the billing information.

3. Process the payment.

4. Wrap it up (send an email, create a receipt, and so on).

This chapter probably has the most complicated code of any in the book. But this chapter also conveys ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required