09.30.2014

Adding Encrypted USB Card Reader Support to Commerce iATS

Ever been in a situation where you wished your Drupal Commerce installation could operate more like a Point of Sale system? Especially for nonprofits, taking donations and charging admission to events are prime examples of times when swiping a customer’s credit card would be a great time saver.

As of version 2.5, Commerce iATS supports the use of encrypted USB card readers with iATS Payments.

Setting things up is easy:

  1. Upgrade to Commerce iATS 2.5
  2. Edit the Commerce iATS credit card payment method by selecting Store, Configuration, then Payment methods from your Drupal admin menu
  3. Check the “Use encrypted USB card reader” option of the credit card payment method (see screenshot below)
  4. Select the name of the USB card reader you’re using
  5. Save the changes to the payment method and you’re good to go

Enable USB card reader functionality

The USB card reader option is only available to Drupal admin users, not regular customers, so you’ll need to create an order manually through the Drupal Commerce admin interface before you can process a payment by swiping a credit card.

The next time you add a credit card payment to an order, you’ll see something like this:

Adding a payment with an encrypted USB card reader

That code is the encrypted credit card data fed into Drupal by the USB card reader. Or it might be the Matrix, we’re still not entirely sure.

In addition to the convenience of not having to type in credit card details, the USB card readers are fully PCI compliant. All sensitive credit card information is encrypted by the reader before it reaches Drupal, meaning you never need to pass unencrypted card data through your server.

For the developers out there, the USB card readers can hook into three of iATS Payments’ API services:

You can see some example card data in iATS Payments’ developer documentation. If you’re ready to start swiping credit cards, the documentation includes links to sites where you can purchase one of the two encrypted USB card readers supported by iATS Payments.

Get In Touch

Questions? Comments? We want to know! Drop us a line and let’s start talking.

Learn More
Get In Touch