---
title: "Barclays Payment plugin"
description: "This plugin integrates the Barclays ePDQ payment gateway with the J2Store shopping cart."
url: "https://docs.j2commerce.com/payment-methods/barclays-payment-plugin"
markdown_url: "https://docs.j2commerce.com/payment-methods/barclays-payment-plugin.md"
last_updated: "2026-10-23T02:33:38+00:00"
version: "J2Store 4"
breadcrumbs:
  - title: "Home"
    url: "https://docs.j2commerce.com/"
  - title: "Payment Methods"
    url: "https://docs.j2commerce.com/payment-methods"
  - title: "Barclays Payment plugin"
    url: "https://docs.j2commerce.com/payment-methods/barclays-payment-plugin"
---

# Barclays Payment plugin

This plugin integrates the Barclays ePDQ payment gateway with the J2Store shopping cart.

## Requirements

- PHP 8.1.0 +
- Joomla! 4.x/ Joomla! 5.x +
- J2Commerce / J2Store 4.x + (Note the plugin will not work with earlier versions of J2Store)

**Required ePDQ settings** Login to your ePDQ Barclayscard merchant account.Go to Confgurations → Technical Information

## Global Transaction Parameters

**Default operation code** You have two default operation code, Sale and Authorization. The brief description of both is given below.

**Sale** This will enable you to receive instant payment

**Authorization**

You have to capture this either manually or automatically.

For Sale, a successful payment will return Status code 9 and for a Successful Authorization, the status code is 5. Both the cases will be treated as Success and Confirmed by the ePDQ plugin. NOTE: If you are selling digital goods, it is advised to use SALE as operation code

Check the image below for a clear understanding.

![epdq](https://docs.j2commerce.com/images/docs/v4/doc-images/payment-methods/barclays-payment-plugin/epdq_plugin_1.png)

The following parameters for technical information in your ePDQ account should be set as instructed below.

**Hashing method (Tab: Security)** This should be set to SHA-1, as the plugin will not function with other methods. Check the image on how to do this.

![hashing method](https://docs.j2commerce.com/images/docs/v4/doc-images/payment-methods/barclays-payment-plugin/hashing_method.png)

**Checks for E-Commerce (Tab: Data and origin verification)** URL of the merchant page containing the payment form that will call the page: orderstandard.asp - This should be set to [click here](http://www.yourdomain.com/)

Also enter a SHA-IN pass phrase here. The same should be entered in the plugin as well.

![verification](https://docs.j2commerce.com/images/docs/v4/doc-images/payment-methods/barclays-payment-plugin/tech_info.png)

**Post sale configuration : (Tab: Transaction feedback)** This is required to update our database after the payment is done.

Under the heading “Direct HTTP server-to-server request”, set both the URLs of the merchant’s post-payment page as below:[http://yourdomain.com/index.php?option=com\\\_j2store\\&view=callback\\&method=payment\\\_epdq\\&paction=process”](http://yourdomain.com/index.php?option=com%5C_j2store%5C&view=callback%5C&method=payment%5C_epdq%5C&paction=process%E2%80%9D) target = ¨“\_blank” rel = ¨“noopener”> click here

**Request method: POST** (see the picture below with example urls)

![post1](https://docs.j2commerce.com/images/docs/v4/doc-images/payment-methods/barclays-payment-plugin/server_request_1.png)

![serverreqst](https://docs.j2commerce.com/images/docs/v4/doc-images/payment-methods/barclays-payment-plugin/server_request_2.png)

## Installation Instructions

- Use the Joomla installer to install the plugin.
- In the backend, go to J2Store → Set up → Payment → ePDQ Barclays → Edit Parameters
- Enable the plugin4. Enter the parameters (read the explanation about each parameter given below)
- Save and close it.
- **Parameters**

  **ePDQ Account PSPID**

This is your Unique Merchant ID provided by the Barclays ePDQ

**SHA1-IN Signature**

This is the SHA-1 IN signature set up by you in the ePDQ settings (see below for the required settings to be done at your ePDQ account). This ensure security of your transaction.

**SHA1-OUT Signature** This is the SHA-1 OUT signature set up by you in the ePDQ settings. (see below for the required settings to be done at your ePDQ account)

**Title Header of Payment Page** Optional setting. Enter a text that will be displayed as the title of the payment page.

**Custom Logo**

Optional setting. Enter a url (https) pointing to your logo image.

NOTE: DO NOT enter an unsecure url (one that starts with http://) here. It will result in an error

**Custom Background Color**

Enter a hex color code here to change the background color of the payment page. Example: #ff0000

**Use Barclays ePDQ Test Account**

ePDQ offers a testing suite. Before going live, it is advised to test your store using the ePDQ test server. Read more about ePDQ test account at the ePDQ’s official website

NOTE: IN LIVE SITE, THIS SHOULD BE SET TO NO

**Display text on selection**

The text entered here will be displayed when customer selects this payment method.

You can enter a language constant as a value here if you are using a multi-lingual site and then write a language override.

Refer the tips below Tip - ONLY FOR MULTI-LINGUAL SITES

For example, enter a language constant: J2STORE_TEXT_TO_DISPLAY_ON_SELECTION.

Now you can go to Joomla admin-> Language Manager->Overrides and create overrides for the language constant in all your languages.

**Display text before payment**

The text entered here will be displayed to the customer at the order summary screen before he makes the payment.

You can enter a language constant as a value here if you are using a multi-lingual site and then write a language override. Refer the Display text on selection parameter.

**Display text after payment/order**

The text entered here will be displayed to the customer after he makes the payment.

You can enter a language constant as a value here if you are using a multi-lingual site and then write a language override. Refer the Display text on selection parameter.

**Display text on error in payment**

The text entered here will be displayed to the customer when there is an error in the payment process.

You can enter a language constant as a value here if you are using a multi-lingual site and then write a language override. Refer the Display text on selection parameter.

**Display text on cancel payment**

The text entered here will be displayed to the customer when he cancels the payment at the gateway (NOT in your site).

You can enter a language constant as a value here if you are using a multi-lingual site and then write a language override. Refer the Display text on selection parameter.

**Payment Button Text**

The text of the payment button. The button will be displayed at the final checkout step.

**Support**

Still have questions? You can contact support: [Click here](https://www.j2commerce.com/support)

Thank you for using our extension.
