Get 15% off Mageplaza extensions & subscriptions! Use code HIMAY at checkout.

How to integrate Barclaycard Payments into Magento 2?

Vinh Jacker | 12-31-2019

The Most Popular Extension Builder for Magento 2

With a big catalog of 224+ extensions for your online store

Barclaycard is the ancient payment gateway based in UK, which has reached customers and clients all across 40 countries. Barclaycard payment facilitates every online payment with all major credit cards including Visa, Mastercard, American Express, Maestro, Diners Club and JCB.

If you are looking for a solution to integrate this payment gateway into your Magento 2 stores, this blog is right for you. Let’s see how well the Magento 2 Barclaycard Payments from Mageplaza can assist your customers in their shopping journey.

Main Contents

Outstanding advantages of using Barclaycard integration module

More payment method, better choice for customers

Well known in over 40 countries, Barclaycard payment provider has served global customers all over the world. Especially, the payment gateway co-operates with over the top 25 organizations regarding credit card programs.

The popularity of this payment method will bring more convenience to its users. In which, they can freely go shopping online at many stores and process online payment instantly.

More payment method

Easy integration steps

Using Barclaycard extension, the integration process is so simple. Magento stores just need to install the module via the composer then configure the credentials and simple settings at backend.

No complicated coding skills are required, admins can fill in the credentials to connect to Barclaycard then do some configuration to define how the payment is processed in your stores. All configurations are well instructed in the module user guide.

Protect customers with CVC and 3D secure

How this payment gateway and this integration solution protect customers’ card security? An important question that each store using Barclaycard should care about.

To answer this, Barclaycard does support multiple security layers:

  • CVC number confirmation
  • 3D secure
  • SHA-IN and SHA-OUT passphrases

Those methods ensure that whether customers process payment at the store or at Barclaycard site, they are all secured and safe with the card information.

Protect customers with CVC and 3D secure

Highlight functions of Barclaycard module

Customers using Barclaycard payment can freely checkout via some common card types: Visa, Mastercard, American Express, Maestro, Dinners Club, JBC.

Also, in the backend, admin can choose to enable which card types be paid via Barclaycard. Depending on store purpose and wishes, this function offers flexibility for both customers and Magento stores in payment processing.

Most popular cart types

Two ways integration

Barclaycard module offers Magento 2 stores 2 integration methods: Redirect payment or Direct checkout.

With direct payment, customers shopping on your stores can process payment right at the checkout page. A credit card form is inserted under all other checkout information. Customers just need to leave their card number here, place order then the payment will be auto processed, keeping them stay still in the store site.

For the other integration method, customers will be moved to Barclaycard hosted payment page. All credit card information is left and processed there. This payment integration method is considered safer for shoppers.

Two ways integration

Allow creating backend payment

With the saved card info, admins can help their customers to create backend orders and process payment instantly.

This function helps both parties save their time and effort still make an order accurately. It is especially convenient for customers who can just make an order via emails or phone calls.

Allow creating backend payment

Highly secure payment with CVV, 3D and Request parameters

There are three protected layers for payments via Barclaycard module:

  • CVV number: shoppers are required to fill in the CVV number at the back of their card to verify the card authority.
  • 3D Secure: Require customers to verify themselves by filling exactly the PIN number or the banking OTP password.
  • SHA-IN and SHA-OUT: also take the role of the authentication values for customers’ payment transactions.

Highly secure payment

Full features of Barclaycard extension


  • Select payment mode: Sandbox or Production
  • Fill in PSPID, Hash Algorithm
  • Provide User ID
  • Provide Sha-In and Sha-Out Phrase
  • Fill in API User ID and Password
  • Specify DirectLink Sha-In Pass Phrase
  • Check credentials validation

Barclaycard ePDQ Commerce

  • Activate/Deactivate the payment integration method
  • Choose the language
  • Name the payment title shown at frontend
  • Choose payment actions: authorize or authorize and capture
  • Define new order status
  • Choose card types to apply for Barclaycard
  • Choose accepted currencies
  • Specify countries to apply for the payment
  • Upload payment logo
  • Set the order value scale
  • Enable the debug mode
  • Define the position for this payment
  • Activate/Turn off this payment integration method
  • Enter payment method title
  • Specify payment action: authorize or authorize and capture
  • Define new order status
  • Specify card types for Barclaycard using
  • Turn on/off 3D Secure
  • Allow admin to create backend order (MOTO)
  • Choose accepted currencies
  • Select nations to apply for the payment
  • Upload logo for the payment
  • Set the order value range
  • Enable the debug mode
  • Enter the sort order for the payment

Wrap things up

There are many payment solutions for Magento 2 outside which takes much considerations of Magento stores when they are trying to bring the most perfect shopping experiences for their customers. Magento 2 Barclaycard Payments should be one of your options with its powerful features.


Barclaycard for Magento 2

Facilitate online payment with all major credit cards like Visa, Mastercard, American Express, etc.

Learn more


Hello, I'm the Chief Technology Officer of Mageplaza, and I am thrilled to share my story with you. My deep love and passion for technology have fueled my journey as a professional coder and an ultra-marathon runner. Over the past decade, I have accumulated extensive experience and honed my expertise in PHP development.

Related Post

Website Support & Maintenance Services

mageplaza services

Make sure your store is not only in good shape but also thriving with a professional team yet at an affordable price.