Drupal Commerce

plus-sign-simple

Integrate Drupal Commerce and Bluepay

Trexle connects Drupal Commerce to Bluepay and 100+ other payment gateways using a single plugin for one time annual fee

Bluepay and Drupal Commerce Integration Guide

You need to have an active gateway account with BluePay.

  1. Log into your BluePay Manager
  2. Enter your Account Name, Username and Password then select Login.
  3. Go to and select: Administration > Users > List. The User ID is listed next to the Username that you want to use
  4. Copy User ID  copy this user ID for future use page.
  5. In the top menu click on Administration > Accounts > List. The Account ID is listed next to the Account Name that you want to use
  6. Copy Account ID copy this account ID for future use
  7. Select the “View” icon that looks like a face with glasses under “Options”
  8. In the “Website Integration” group if the field to the right of “Secret Key” is blank press the “Create New Key” button. Copy this Secret Key

Use these credentials to Access the BluePay API

Take the credentials you just obtained from Bluepay and navigate to Trexle dashboard, click Payments Gateways and select Bluepay from the drop down menu as shown below.

Fill into your Bluepay credential and click Add Gateway. Click the Activate button next to Bluepay, and it will give you a success message and the button will turn into green. You should see something like below.

To integrate Bluepay and Drupal Commerce you need Trexle API keys

After adding the Drupal Commerce module to your site, browse into Administration > Commerce > Configuration > Payment gateways. Configure the settings and insert your API key like the following screen.

Make a test product and test the checkout process.

Fill in the payment details using a test credit card.

To test both possible outcomes (i.e. Approved, Declined), the transaction status responses are based on the values you assign to the AMOUNT field when you are in TEST Mode:

Odd dollar amounts (e.g. $1.00, $9.00, $25.00) return an APPROVED message
Even dollar amounts (e.g. $2.00, $16.00, $32.15) return a DECLINE message
Test Credit Card Numbers
Visa – 4111111111111111
Visa – 4242424242424242
Master Card – 5439750001500222
Master Card – 5439750001500347
Discover – 6011111111111117
AMEX – 378282246310005
CVC = 123

Test Expiration Dates
Expiration dates in the future are returned as valid
Expiration dates in the past are returned as invalid

Test ACH Numbers
Routing Number – 123123123
Account Number – 123456789

Bluepay Supported Countries

Bluepay Supported Payment Processing Actions

✔ Purchase
✔ Authorize
✔ Capture
✔ Void
✔ Credit
✔ Recurring
✖ Card Store

Key Features

Credit Card Vault: securely store your customers sensitive credit card data using tokens.
Instant PCI-DSS Compliance: your customers credit card data never touches your site or server.
Multiple Gateway Support: Connect your Drupal Commerce site to 100+ payment gateway

About Trexle

Trexle is a powerful online recurring subscription billing platform that integrate Bluepay and other +100 payment gateways with Drupal Commerce and other dozen of e-commerce platforms.

About Bluepay

When you’re looking for the best possible payment gateway for your customers, look no further than BluePay. The company received the CNP Customer Choice Award in the Best E-Commerce Platform/Gateway category for two years in a row, 2016 and 2017. With its omnichannel capabilities, advanced security methods and fraud management tools, the BluePay Gateway has emerged as a top choice for merchants and suppliers throughout the U.S. and Canada.

About Drupal Commerce

Drupal Commerce is open-source eCommerce software that augments the content management system Drupal. Within the context of a Drupal-based site, Drupal Commerce presents products for purchase; walks customers through the checkout process; keeps track of invoices, receipts, orders, and payments; facilitates shipping and payment; and performs other functions needed by online merchants.

Cart