Follow our blog to learn more about the exciting world of Drupal!

Switching to an older version of library while using homebrew

Homebrew is a popular package manager for OS X, one which I use extensively. Sometimes, while upgrading the libraries, it's possible that the new library fails to work and you need to switch to using the older version. This post will describe how to do that.

In my case, I upgraded the boost library from 1.59 to 1.60. The Point Cloud Library (PCL) which depends on boost started failing with this new version and hence I had to switch it back to 1.59. After some search, we found that "brew switch" will do the trick. Here is the command:

Accepting payment via PayPal

This is tutorial #9 in the Drupal Commerce tutorial series. In the previous article, we enabled Authorize.Net Payment Gateway for the site. This article will focus on PayPal.

PayPal is easily the world's most preferred payment solution. Drupal has several competent modules that can handle PayPal transactions. In this article, we will be downloading, enabling and configuring the Commerce PayPal module.

Accepting Credit Card Payment via Authorize.net

This is tutorial #8 in the Drupal Commerce tutorial series. In the previous article, you learned how to enable Express Checkout on your Drupal Commerce site. In this article, you will learn about how to accept credit card payments using Authorize.net. Authorize.net is a hugely popular gateway service provider that allows you to accept credit card payments from buyers online.

By the time you are done with this article, you would have configured gateway settings as shown below:

Reducing Drupal's page load times using Fastly CDN

If you have ever optimized a Drupal site, you must have heard that you should serve static assets using a Content Delivery Network (CDN). In this post, we'll go over how CDNs help in reducing page load times. We'll cover one CDN, Fastly, in detail. The reason being that in addition to caching static assets, it caches dynamic HTML content as well and since it's built on top of Varnish, it integrates with Drupal seamlessly. This post will cover the following topics: