Skip to main content

Barclaycard

Overview

Barclays is the UK's most trusted multinational banking and financial services company headquartered in London. Mageplaza Barclaycard extension will help you use Barclays to support online payment by card. Your customers can pay by Visa, Mastercard, Maestro, Amex Credit by default and can pay with Diners Club and JCB after being activated by Barclays. Mageplaza Barclaycard extension is fully compatible with Mageplaza One Step Checkout.

How to use

1. Account registration instructions

  • Barclaycard: to register for a Barclaycard account, access the this link, complete the required information below:

  • After registration, the system will send password information via email that you have registered.

  • Open your registration email and get the login password information

  • Barclaycard's interface after successful login

2. Hash algorithm

Hash algorithm needs to be same with Hash algorithm in barclay.

At the Barclaycard interface, click Configuration > Technical information > Global security parameters.

3. Instructions for getting User ID, e-Commerce SHA-in pass phrase, e-Commerce SHA-out pass phrase

  • The user ID corresponds to the PSPID you used to log in

  • To get the e-Commerce SHA-in pass phrase, at the Barclaycard interface, click Configuration > Technical Information > Data and origin verification.

  • To get the e-Commerce SHA-out pass phrase key, at the Barclaycard interface, click Configuration > Technical Information > Transaction feedback. You go to Security for request parameters to get the key.

  • Click Configuration > Technical Information > Transaction feedback, at HTTP redirection in the browser. Select the checkbox below to get feedback parameters of the transaction on the URL when redirecting.

  • API User ID / API User Password: You need to create user for direct link method.

  • At the interface of Barclaycard, click Configuration > Users > New User

  • In Create user form, after filling out your information, click Related FAQ then click Create button.

  • To get the DirectLink SHA-in pass phrase, at the Barclaycard interface, click Configuration > Technical Information > Data and origin verification.

  • To display authentication with 3D Secure, at the Barclaycard interface, click Advanced > Fraud detection

  • Click on Edit at Credit Card to configure 3D Secure for the card. After configuration is complete, click Submit

5. Checkout page

Checkout page: choose a payment method with Barclaycard. Fill out the credit card information including: Credit Card Number, Expiration Date, Card Verification Number. Including 2 payment methods of Barclaycard: Barclaycard ePDQ e-Commerce, Barclaycard ePDQ DirectLink.

Barclaycard ePDQ e-Commerce

  • You can check the checkout process with the following Cards:

Use any of the card details below to process your test transactions. There may be scenarios where you need to perform different testing depending on the country of issue of a certain card scheme. To that end, we have provided both UK and international maestro test card numbers.

 

Credit Card

Number

Amex Credit

374691000000004, 374691000000012

Maestro

675914000000000004, 675914000000000012

Maestro (International)

679999000000000004, 679999000000000012

Mastercard Credit

5101110000000020

Mastercard Debit

5573750000000022

UK Visa Electron

4001150000000012, 4001150000000038

Visa Credit

4008800000000007, 4008800000000015

Visa Debit

4094000000000017, 4094000000000025

- You can check the checkout process using 3D Secure with the following cards:

 

Description

VISA

MASTERCARD

AMEX

Authentication/ Account

Verification Successful

4874970686672022

4012007153923001

5130257474533310

5200003143732874

379764422997381

378069803818698

Not Authenticated /Account Not Verified; Transaction denied

4253955490718757

4012007161850527

5199768787888942

5200006177946005

374706031281041

346455459929781

Authentication/ Account Verification Could Not Be

Performed;

Technical or other problem.

4282713011953451

5148904639667695

371674415569022

Attempts Processing Performed; Not Authenticated/Verified, but a proof of attempted authentication/verification is provided.

4839645466321180

5168693992589936

379943305931143

Authentication/ Account Verification Rejected; Issuer is rejecting authentication/verification and request that authorisation not be attempted

4450022237973103

5144144373781246

376632086941180

To find out more cases, please visit here

How to Configure

Login to the Magento Admin, choose Stores > Configuration > Sale > Payment Methods

At Barclaycard Payment Method, click Configure

1.Credentials

At Barcylaycard click Configure > Credentials:

  • Environment:
    • Admin can choose Sandbox environment to check the payment features of the methods.
    • When applying for online payment, the admin needs to switch the environment to Production.
  • PSPID:
    • Copy the above PSPID and paste it here.
    • If left blank or entered incorrectly, the payment method will not be connected.
  • Hash Algorithm: Depends on your choice in the Configuration Barclaycard above
  • User ID:
    • Copy the User ID above and paste it here.
    • If left blank or entered incorrectly, the payment method will not be connected.
  • e-Commerce SHA-in pass Phrase:
    • Copy the e-Commerce SHA-in pass Phrase got above into this field.
    • If left blank or entered incorrectly, the payment method will not be connected.
  • e-Commerce SHA-out pass Phrase:
    • Copy the e-Commerce SHA-out pass Phrase got above into this field.
    • If left blank or entered incorrectly, the payment method will not be connected.
  • User ID API:
    • Copy the API User ID above and paste it here.
    • If left blank or entered incorrectly, the payment method will not be connected.
  • API User Password:
    • Copy API User Password above and paste it here.
    • If left blank or entered incorrectly, the payment method will not be connected.
  • DirectLink SHA-in pass Phrase:
    • Copy the DirectLink SHA-in pass Phrase above and paste it here.
    • If left blank or entered incorrectly, the payment method will not be connected.

2. Barclaycard ePDQ e-Commerce

  • Enable: Select Yes to using the Barclaycard ePDQ e-Commerce payment feature.

  • Language Code: Select the language of the Barclaycard payment page that is redirected to after customer place order at store checkout page.

  • Title: Set the title for this payment method at checkout page.

  • Payment Action:

    • Authorize and Capture: Payment will be captured as soon as customer place orders successfully. At that moment, customer's card will always pay for the order and invoice will be created.
    • Authorize: Payment will only be captured when admin creates invoice for customer order. Once invoice is successfully created, the admin can receive money from customer's card.
  • New Order Status: Select status when customer orders successfully:

    • Processing: Display status with Processing when order is successful. You can change the status in the backend with each order.
    • Suspected Fraud: Displays status with Suspected Fraud when order is successful. You can change the status in the backend with each order. With this status admin can accept payment or reject payment and then transfer status to Processing.
  • Card Types:

    • Choose 1 or more cards to be used with this payment method.
    • Cards will be verified when customer completes card number when checking out. For cards not selected in this section, there will be invalid notice shown for customers. For cards that are not selected, they will not appear in Checkout page.
  • Accepted Currencies: Admin can choose which currencies on the website are allowed to use this payment method

  • Payment from Applicable Countries:

    • Select All Allowed Countries so the card payment method can be applied in all countries.
    • To restrict this payment with more conditions, see Payment Restrictions module.
    • Select Specific Countries to limit certain countries to be able to use this payment method
      • Payment from Specific Countries: The selected countries will be displayed with the payment method by Card.
  • Show Logo: Click Choose File to download the logo for the payment method on the Checkout page.

  • Minimum Order Total:

    • Enter the minimum order amount to display and apply for Barclaycard ePDQ e-Commerce payments.
    • If the order amount is less than the value in this field, payment methods will not be shown.
  • Maximum Order Total:

    • Enter the maximum amount of order to display and apply for Barclaycard ePDQ e-Commerce payments.
    • If the order amount is greater than the value in this field, the payment method will not be shown.
  • Debug Mode:

    • If Yes, diagnostic information is stored in log files on the Magento web server.
  • Sort Order:

    • Specify the display position of this payment method compared to other payment methods
    • 0 is the highest priority. Smaller numbers will be preferred to show first.

  • Enable: Select Yes to using the Barclaycard ePDQ e-Commerce payment feature.

  • Title: Set the title for this payment method at checkout page.

  • Payment Action:

    • Authorize and Capture: Payment will be captured as soon as customer place orders successfully. At that moment, customer's card will always pay for the order and invoice will be created.
    • Authorize: Payment will only be captured when admin creates invoice for customer order. Once invoice is successfully created, the admin can receive money from customer's card.
  • New Order Status: Select status when customer orders successfully:

    • Processing: Display status with Processing when order is successful. You can change the status in the backend with each order.
    • Suspected Fraud: Displays status with Suspected Fraud when order is successful. You can change the status in the backend with each order. With this status admin can accept payment or reject payment and then transfer status to Processing.
  • Card Types:

    • Choose 1 or more cards to be used with this payment method.
    • Cards will be verified when customer completes card number when checking out. For cards not selected in this section, there will be invalid notice shown for customers. For cards that are not selected, they will not appear in Checkout page.
  • 3D Secure: Select Yes to apply 3D Secure for card verification each time customers checkout.

  • Enable Admin Order (MOTO): Select Yes to allow admin to create order at backend

  • Accepted Currencies: Admin can choose which currencies on the website are allowed to use this payment method

  • Payment from Applicable Countries:

    • Select All Allowed Countries so the card payment method can be applied in all countries.
    • To restrict this payment with more conditions, see Payment Restrictions module.
    • Select Specific Countries to limit certain countries to be able to use this payment method
      • Payment from Specific Countries: The selected countries will be displayed with the payment method by Card.
  • Show Logo: Click Choose File to download the logo for the payment method on the Checkout page.

  • Minimum Order Total:

    • Enter the minimum order amount to display and apply Barclaycard ePDQ DirectLink payments.
    • If the order amount is less than the value in this field, payment methods will not be shown.
  • Maximum Order Total:

    • Enter the maximum amount of order to display and apply Barclaycard ePDQ DirectLink payments.
    • If the order amount is greater than the value in this field, the payment method will not be shown.
  • Debug Mode:

    • If Yes, diagnostic information is stored in log files on the Magento web server.
  • Sort Order:

    • Specify the display position of this payment method compared to other payment methods
    • 0 is the highest priority. Smaller numbers will be preferred to show first.

4. Admin Order

4.1. Admin Order

Admin can crrate order using Barclaycard ePDQ DirectLink payment method

4.2. Admin View Order

This section at backend records the Credit Card information (Barclaycard) that customers have ordered and paid:

5. Customer View Order

This section at fontend saves card information that customers have ordered:

6. Compatible with One Step Checkout