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:
In this recipe, we will begin by creating a new Product content type that will have one custom field for storing the PayPal button code. We will then generate a PayPal button for the new product and add it to a new Product node:
1. Select Structure from the admin menu, then select Content types.
2. Select +Add content type.
3. In the Name field, enter Product.
4. In the Description field, enter: Use the Product content type to display...