Taking payment online

There are a number of different ways in which we can take payment online, using a number of different gateways, which we will discuss later in this chapter. However, for our Juniper Theatricals store, the owner wants to take payment through PayPal, because it is quick and easy to sign up to, you don't need a PayPal account to send payment, and it is well known. So let's look at integrating PayPal functionality into the store.

PayPal

PayPal is one of the most well-known payment gateways available, primarily through use with its parent company eBay. One of the main benefits of PayPal is the low cost barrier of entry to use it, and its simple standard payment system for website integration.

The payment button

PayPal's standard ...

Get PHP 5 e-commerce Development now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.