Drupal Commerce Blog

What's happening in the world of Drupal Commerce.

How to switch your payment settings based on environment variables using Platform.sh

When working on a Commerce project which uses a payment gateway, you need to always make sure that your Staging and Development environments are properly targeting the sandbox or test mode of your payment gateway, and that your Production site is targeting the live account.

This is actually true for any third-party service integration which provides a sandbox where you can test. The objective is to make sure you never send test data on a live account, no matter the service you're testing on.

For this tutorial, I will focus on payment method settings, but the principle remains the same for any other third-party integration.

I will start from an empty Drupal site hosted on Platform.sh and go through the following steps:

  • Enable and configure Paypal WPS payment method
  • Export its configuration to a settings.local.php file
  • Override its Sandbox configuration on the Staging environment
  • Write custom code to read the configuration from the settings.local.php

As you see, the goal (as always with Drupal) is to read the configuration from your code so that you can easily switch from a sandbox mode to a live mode.

Augustin Delaporte
Posted: Dec 4, 2014

Capitalizing on the Chinese eCommerce Boom

China has now surpassed the U.S. as the largest eCommerce economy in the world. The Chinese have a strong desire to purchase overseas, demonstrated by the fact that nearly half of Chinese International eCommerce dollars are spent at U.S. websites. Online merchants worldwide are experiencing soaring revenues by capturing a piece of the tremendous discretionary income Chinese shoppers are ready to spend.

Join Kelly Harvin of PayLeap (an Acculynk solution) as she demonstrates how to tap into this explosive market with insight into:

Cut Costs on Your Credit Card Processing

Credit card processing rates and fees are complicated with lots of fine print. But one thing is for sure. You likely feel that you are paying much more than the “super low” advertised rate from your current provider.

This webinar discusses 7 common mistakes online businesses make when selecting a payment processor, along with tips on how to cut your costs.

Specifically we’ll discuss:

Got Content? Got Community? Add Commerce!

A Drupal Commerce briefing and demonstration with Commerce Guys

As the reach of the web continues to grow, many are wishing they had included commerce functionality in their website. The opportunities for optimization are endless: accepting donations, processing downloads of licensed goods or digital assets, tracking reservations and orders, or simply selling physical goods...the list goes on. The good news is, it’s not too late to add Commerce to your Drupal site!

Building your eEmpire: eCommerce from the Ground Up

Times are changing. Many folks have smartphones in hand and 64% of them are using their mobile devices to shop online.* 72% of tablet owners make purchases from their devices weekly as well**.

By the end of 2014, Forrester Research estimates there will be $248.7 billion in online sales. That's in the US alone. Over five years, they're forecasting a 10% annual compound growth. Europe is even bigger, with an 11% annual compound growth rate (that's 191 billion Euros by 2017, if you're counting).

eCommerce is a big deal. If you're not paying attention, you should be!

Cyber-Crime, Data Compromises. What's a Merchant to Do?

We know that many of you are concerned about recent data compromises that have made media headlines. Most of us have been affected by these breaches, either directly as a shopper or indirectly as a merchant who's seen tightening security and scrutiny impact customers and business systems.

That's why we've invited Tim Horton, a Cyber Security Solutions Specialist with First Data, to present information on protecting your clients and your business in today's threatening environment.

Architecting Drupal Commerce Sites

Before diving into a Drupal Commerce project, you must reconcile the product model and business rules of your merchant with the data model and processes of the framework. Thanks to its dependence on Drupal's entity system, Views, and Rules, Drupal Commerce is flexible enough to accommodate most requirements with little custom development required. However, to get the most out of the system, you must understand how it's using these systems and where it expects different types of data for products, transactions, etc. to reside.

PCI Compliance and Drupal

You’re taking payments online, so you must be PCI Compliant, right?
How do you know?
Drupal.org reports over 80,000+ active Ubercart and Drupal Commerce installations. That’s great news! With such a large and active portion of our community involved in eCommerce, effort and resources must go toward helping these websites achieve the mandatory security standards set forth by the Payment Card Industry (PCI).

Increase conversion and boost sales across the holiday period!

Online retailers are spending increasing amounts of their marketing budget driving traffic to their stores but when customers get there, only a small percentage actually go on to buy anything. This is a huge opportunity cost and increasing numbers of retailers are turning to personalization to help solve it.

In this webinar you will learn how to increase conversion and average order value by delivering your customers a personalized shopping experience.

Improve conversion and increase sales for the Holidays

Do you need to improve conversion rates on your site and capture more sales at checkout? Have you discovered how vital mobile is to your business? Are you giving customers options and flexibility when it comes to how they pay online?

The holidays will be here before you know it, and you need to be ready.

If you’re a retailer or marketer, your success is dependent on turning browsers into buyers. And if you’re a developer or site-builder, you need to be delivering engaging shopping experiences to your clients that convert into sales for them and new business for you.


Subscribe to RSS - howto