Book Image

Getting Started with Drupal Commerce

By : Richard Jones
Book Image

Getting Started with Drupal Commerce

By: Richard Jones

Overview of this book

Drupal Commerce is emerging as the preferred option for open source e-commerce, and it also stands up to comparison against established proprietary systems. Getting Started with Drupal Commerce is an introductory guide to building an online store using Drupal Commerce in Drupal 7. Getting Started with Drupal Commerce takes you step-by-step through a complete e-commerce website build, from a clean installation of Drupal to a working example store. Starting with how to set up a Drupal development environment, we then discuss the planning of an e-commerce site and the typical questions you should be asking before getting started. Next, we walk through all of the essential setup required for most types of e-shop, including taxes, shipping, discounts and coupons, the checkout process, and backend order management. By the end of Getting Started with Drupal Commerce, you will be fully-equipped to plan and build your own store and you will understand the fundamental principles of Drupal Commerce that will enable you to progress to more complex store builds.
Table of Contents (18 chapters)
Getting Started with Drupal Commerce
Credits
Foreword
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Payment gateways


It is possible to set up a Commerce site without a payment step, but it is quite unusual. We will now enable some more modules to allow you to collect payment from your customers.

Enable the following modules from the Commerce package:

  • Order UI

  • Payment

  • Payment Method Example

  • Payment UI

Now, go back to the checkout settings page by navigating to Store | Configuration | Checkout settings.

There will be a new checkout pane in the review checkout page.

The payment checkout pane has one setting that allows you to prevent checkout, if no payment gateway is available, as shown in the following screenshot:

You can use this functionality to quickly disable the ordering process of your store without taking the whole site offline.

Selecting a payment gateway

The choice of payment gateway is usually dictated by the business requirements rather than the technology. Before signing up with a payment provider, it is worth checking that there is a payment gateway module available for Drupal Commerce...