Title: Magento 2 Barclaycard Payments
1Barclaycard Direct Payments for Magento 2 User
Guide
- Table of Content
- Extension Installation Guide
- Barclaycard Account Signup and Login
- Configuration
- Barclaycard Direct Payment in Frontend
- Barclaycard Payment Details in Order View Backend
- Barclaycard Payment Method for Backend Order
- Refund Online for Authorized Orders
Barclaycard Direct Payment for Magento 2
Meetanshi
2- Extension Installation
- For Magento Marketplace Customers
- Create a folder structure in Magento root as
app/code/Meetanshi/Barclaycard - Download and extract the zip folder and upload
our extension files to the app/code/Meetanshi/Bar
claycard via FTP. - Login to your SSH and run below commands step by
step - php bin/magento setupupgrade
- For Magento version 2.0.x to 2.1.x - php
bin/magento setupstatic-contentdeploy - For Magento version 2.2.x above - php
bin/magento setupstatic-contentdeploy f - php bin/magento cacheflush
- For Meetanshi Customers
- Extract the zip folder and upload our extension
to the root of your Magento 2 directory via FTP. - Login to your SSH and run below commands step by
step - php bin/magento setupupgrade
- For Magento version 2.0.x to 2.1.x - php
bin/magento setupstatic-contentdeploy - For Magento version 2.2.x above - php
bin/magento setupstatic-contentdeploy f - php bin/magento cacheflush
Barclaycard Direct Payment for Magento 2
Meetanshi
32. Barclaycard Account Signup and Login To
integrate Barclaycard in Magento 2, you need to
signup to create a merchant account. Simply fill
the details and submit to successfully register
with Barclaycard Payment Gateway.
Barclaycard Direct Payment for Magento 2
Meetanshi
4- Once you get registration details, login to
either test or production account using your PSID
and password.
- Configuration
- For configuring the extension, login to Magento
2, move to Stores ? Configuration ?? Sales ? - Payment Methods, find the Barclaycard Direct
Payment to configure. - Enabled Enable or disable Barclaycard Direct
Payment extension from here. - Title Enter title for the Barclaycard Direct
Payment to show in frontend. - 3D Secure Enable 3D secure.
- Note Login to Barclaycard, go to Advanced gt
Fraud Detection and select Request 3D Secure to
enable the option for usage when testing.
Barclaycard Direct Payment for Magento 2
Meetanshi
5- PSPID Enter your payment service provider ID
(PSPID) you got while registration. - User ID Enter user ID. Go to Barclaycard
Configuration ? Users to find your User ID.
Barclaycard Direct Payment for Magento 2
Meetanshi
6While creating user, make sure you have ticked
Special User for API to integrate the
payment gateway in Magento 2 using this user.
Barclaycard Direct Payment for Magento 2
Meetanshi
7- Password Enter password for the user.
- Alias Enter alias. Go to Barclaycard
Configuration ? Alias to create or find your
stored alias.
- Hash Algorithm Here, you have to select the same
hash algorithm you set while account creation.
To find it, go to Barclaycard Configuration ?
Technical Information ?? Global Security
Parameters ? Hash Algorithm.
Barclaycard Direct Payment for Magento 2
Meetanshi
8- SHA-in Pass Phrase Direct Link Method Enter
SHA-in pass phrase for direct link method. You
can find it at Barclaycard Configuration ?
Technical Information ? Data Origin
Verification ? Checks for Barclaycard Direct Link
- Add Post Payment Page URLs Merchants have to add
post payment page URLs in Barclaycard. Go to
Barclaycard Configuration ? Technical Information
? Transaction Feedback and find Direct HTTP
Server to Server Request and add below URLs in
both the fields respectively. - If the payments status is accepted, on hold
or uncertain Enter URL yourwebsite.com/barclay
card/payment/acceptPayment/ - If the payments status is Cancelled by the
Client or too many rejections by the
acquirer Enter URL yourwebsite.com/barclaycard/p
ayment/declinePayment/
Barclaycard Direct Payment for Magento 2
Meetanshi
9Note Make sure you have selected the exact 10
parameters listed below under Barclaycard
Configuration ? Technical Information ?
Transaction Feedback ? Dynamic E-Commerce
parameters.
ALIAS EMAIL
AMOUNT NCERROR
CARDNO ORDERID
CN PAYID
CURRENCY STATUS
ED
Barclaycard Direct Payment for Magento 2
Meetanshi
10- Sandbox Mode Set YES to enable sandbox mode for
the payment gateway. - Order Prefix Enter prefix or the orders.
- Payment Action Select one of the payment actions
for the orders placed through Barclaycard. - Authorize Only authorizes the payment and
captures the amount after invoice generation - Authorize and Capture Authorizes and captures
the amount and generates invoice for the orders. - New Order Status Select status for the new
orders. - Credit Card Types Select credit card types to
allow payment using them. - Payment from Applicable Countries Select
countries to allow use of payment method. - Enable Debug Set YES to enable debug.
- Sort Order Enter sort order of the payment
method to show in frontend.
Barclaycard Direct Payment for Magento 2
Meetanshi
11Barclaycard Direct Payment for Magento 2
Meetanshi
124. Barclaycard Direct Payment in Frontend Once
the extension is configured, it can be seen
enabled on frontend. Simply add products to cart
and at checkout, you can see payment method
enabled. Select it, add card details and click
to finish payment and place order.
Barclaycard Direct Payment for Magento 2
Meetanshi
13- Authenticate Payment Transaction
- If 3D secure is enabled from the configuration,
customers will have to authenticate the payment
transaction. This authentication step may vary
based on your card and bank type. Simply follow
the authentication steps and submit for the
successful payment.
Barclaycard Direct Payment for Magento 2
Meetanshi
14- Payment Success Message on Barclaycard Hosted
Payment Page - On successful payment, Barclaycard hosted payment
page shows success message and - redirects back to merchants website.
Barclaycard Direct Payment for Magento 2
Meetanshi
15- Barclaycard Payment Details in My Account Section
- Immediately after the order is placed, the
Barclaycard payment details like payment type,
card number, pay ID and status can be seen in
order view under My Account section.
Barclaycard Direct Payment for Magento 2
Meetanshi
165. Barclaycard Payment Details in Order View
Backend Apart from the My Account section,
Barclaycard payment details can be found in Sales
? Orders ? Order View section.
Barclaycard Direct Payment for Magento 2
Meetanshi
176. Barclaycard Payment Method for Backend
Order Just as frontend, Barclaycard payment
method also works with backend orders. Admin
needs to create new order and select Barclaycard
payment method, add card details and click submit
order to place order from backend using
Barclaycard payment method.
Barclaycard Direct Payment for Magento 2
Meetanshi
187. Refund Online for Authorized Orders If you
have set Authorize under the Payment Action,
you have to create an invoice for the orders
manually. Go to Sales gt Orders gt Order View and
click Submit Invoice to generate invoice for
the order.
Barclaycard Direct Payment for Magento 2
Meetanshi
19- Online Refund for Barclaycard Authorized Orders
- If you have set Authorize under the Payment
Action, to refund online for the orders, go to
Sales gt Orders gt Order View gt Invoice and click
on Credit Memo and you can click - Refund button to refund online for the
authorized only orders.
Barclaycard Direct Payment for Magento 2
Meetanshi