Integrate Ubercart and Barclaycard Smartpay

Trexle connects Ubercart to Barclaycard Smartpay and 100+ other payment gateways using a single plugin for one time annual fee

Barclaycard Smartpay and Ubercart Integration Guide

For getting the API key First login to your merchant account and then

To view your integration key:

1. Go to Settings  >  Integration settings.

2. View your Live or Test API Key.

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

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

To integrate Barclaycard Smartpay and Ubercart you need Trexle API keys

To install Trexle extension to your Ubercart, follow these steps:

  1. Download Ubercart extension from Trexle Github repository
  2. Ensure that you’ve properly installed Ubercart on your site before installing the Trexle extension for Ubercart. The Trexle extension cannot work without Ubercart.
  3.  On your Drupal site Dashboard, click on Module menu and click Install New Module on the menu Modules page.
  4. Upload the Trexle Ubercart Extension you downloaded to your site and click Install.

    You have successfully installed Trexle extension to your Ubercart.

To ensure the integration works seamlessly, create a test product, logout from your admin session and perform a checkout as a regular customer.

These test cards are only valid on Barclaycard Smartpay TEST system and they will never involve any actual transaction or transfer of funds. The TEST card number will not work on the SmartPay LIVE platform

For all cards use the following expiration and CVV2/CVC2/or CID for AMEX
For all cards:
Expiration Dates CVV2 / CVC3 CID (American Express)
06/2016 OR 08/2018 737 7373
• MasterCard
Card Number Card Type Issuing Country
5100 0811 1222 3332 Bijenkorf NL
5100 2900 2900 2909 Consumer NL
5577 0000 5577 0004 Consumer PL
5136 3333 3333 3335 Consumer FR
5585 5585 5585 5583 Consumer ES
5555 4444 3333 1111 Consumer GB
5555 5555 5555 4444 Corporate GB
5500 0000 0000 0004 Debit US
5424 0000 0000 0015 Pro EC

Card Number Card Type Issuing Country
4111 1111 1111 1111 Consumer NL
4988 4388 4388 4305 Classic ES
4166 6766 6766 6746 Classic NL
4646 4646 4646 4644 Classic PL
4444 3333 2222 1111 Corporate GB
4400 0000 0000 0008 Debit US
4977 9494 9494 9497 Gold FR
SmartPay Test Cards 5
• American Express
Card Number Issuing Country
3700 0000 0000 002 NL

Card Number Issuing Country
3600 6666 3333 44 US
• Maestro
Card Number Card Type Issuing Country
6731 0123 4567 8906 International NL
6759 6498 2643 8453
Start Date 12 / 2007, Issue Number 1
Maestro UK GB
• China Unionpay & Unionpay – Debit Card
Card Number PIN SMS Cellphone
6222 0236 0289 9998 371 888888 111111 13924254496

Unionpay – Credit Card
Card Number Expiry Date CVN2 Cellphone SMS
5309 9005 9907 8555 02/2015 214 13602958691 111111
SmartPay Test Cards 6
Card Number Card
Address ZIP
5500000000000004 MC 1600 Pennsylvania Ave NW
Washington, DC
20500 US
5555555555554444 MC 10 Downing
374251018720018 Amex 1600 Pennsylvania Ave NW
Washington, DC
20500 US
374251021090003 Amex 1 Infinite Loop
Cupertino, CA
95014 US
374101012180018 Amex 10 Downing
374251033270007 Amex 8-10 Broadway,
Westminster, London
4400000000000008 Visa 1 Infinite Loop
Cupertino, CA
95014 US
4444333322221111 Visa 8-10 Broadway,
Westminster, London
• TEST 3D-Secure Data
Card Number Card Type Username Password Country
5212 3456 7890 1234 MC user password JP
4212 3456 7890 1237 Visa user password CA

Barclaycard Smartpay Supported Countries

Barclaycard Smartpay 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 Ubercart site to 100+ payment gateway

About Trexle

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

About Barclaycard Smartpay

Barclaycard is a trading name of Barclays Bank PLC. Barclays Bank PLC is authorised by the Prudential Regulation Authority and regulated by the Financial Conduct Authority and the Prudential Regulation Authority. Barclaycard Smartpay provides payment gateway services on various eCommerce platforms. Easy integration for you, and a trusted choice for your clients. Smartpay can:
> Boost sales with 1-click, device-responsive payment pages and subscriptions
> Fight fraud with PCI DSS compliance, 3D secure and tokenisation
> Scale with a business, as needs and shopper demands change
> Offer expert help during integration, as well as ongoing support
> Help you resolve any businesses incidents, with 24/7/365 support.

About Ubercart

Ubercart is an open source E-Commerce platform for online merchants, fully integrated with Drupal CMS. It implements all the features that business owners might need to start selling their products online. Ubercart leverages the advantages of Drupal’s major core and contributed systems, providing the merchants and their clients users seamless shopping cart functionality