Adding simple PayPal integration to content types

Creating an online shop can be a daunting task. In this recipe, we will see a method where we add PayPal payments to a content type. We will do this with minimal integration, simply by creating a Product content type with a field to paste generated button code from PayPal.

After completing this recipe, you will have produced a Product node which can be purchased with a Buy Now link, as follows:

Adding simple PayPal integration to content types

Getting ready

You will need to have a PayPal business account with Website Payments Standard enabled.

How to do it...

In this recipe, we will begin by creating a new Product content type that will have one custom ...

Get Drupal 7 Cookbook now with O’Reilly online learning.

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