Title: Magento 2 SecurePay Payment
1SecurePay Payment for Magento 2 User Guide
- Table of Content
- Extension Installation Guide
- Configuration
- SecurePay Payment Method in Frontend
- SecurePay Payment Details in Order View Backend
- SecurePay Payment Method for Backend Order
2- Extension Installation
- For Magento Marketplace Customers
- Find the Composer name and version of the
extension in the extensions composer.json file. - Login to your SSH and run
- composer require meetanshi/magento-2-securepay-pay
ment - Enter your authentication keys. Your public key
is your username your private key is your
password. - Wait for Composer to finish updating your project
dependencies and make sure there - arent any errors.
- To verify that the extension installed properly,
run the command - php bin/magento modulestatus Meetanshi_Securepay
- By default, the extension is probably disabled.
- Enable the extension and clear static view files
- php bin/magento moduleenable Meetanshi_Securepay
--clear-static-content - 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
3- Configuration
- For configuring the extension, login to Magento
2, move to Stores ? Configuration ?? Sales ?
Payment Methods ? SecurePay Payment - Meetanshi,
where you can find various settings to configure
the extension. - Enabled Enable SecurePay Payment extension from
here. - Title Enter title for the SecurePay payment
method to show in the frontend. - Show SecurePay Logo Select YES to show SecurePay
logo on the checkout page in frontend. - Sandbox Mode Set YES to enable sandbox mode for
the payment gateway. - Merchant Code Follow the steps to get your
publishable key from SecurePay. - Client ID Follow the steps to get your client ID
from SecurePay. - Client Secret Follow the steps to get your
client secret from SecurePay. - Payment Action Select one of the payment actions
for the payment capture. - Authorize Authorizes and validates card for the
order amount. The admin has to manually capture
the amount (by generating invoice using Capture
Online option) within the authorization hold
period which is 5 to 10 business days for
SecurePay. - Authorize and Capture Authorizes and captures
the order amount immediately. - New Order Status Set status for the new orders
placed through SecurePay method. - Credit Card Types Select the credit card types
to allow using for SecurePay payment method. - Payment from Applicable Countries Select all or
selected countries to allow payments using
SecurePay. - Payment from Selected Countries If you have set
selected countries from the above option, select
the countries to allow payments using SecurePay. - Debug Select YES to enable debug.
- Instructions Enter additional instructions to
show on the checkout page in the frontend.
4(No Transcript)
53. SecurePay Payment Method in Frontend Once the
extension is configured, it can be seen enabled
in the frontend. Simply add products to cart and
go to the checkout, you can see the SecurePay
Payment method enabled. Select it, enter the
card details and click Place Order to finish
payment and place the order successfully. The
customers can tick the box here to save the card
for future transactions.
6- SecurePay Payment Details in My Account Section
- Immediately after the order is placed, the
SecurePay Payment details can be seen in order
view tab under the customers My Account section.
7- SecurePay Payment Stored Cards
- If the vault is enabled and the customers have
ticked the box from the checkout page to save
the cards for the future transactions, they can
see SecurePay stored cards in their My Account - section under Stored Payment Methods tab.
8- New Order Placement using Stored Cards
- If the vault is enabled and the customer has
ticked the box from the checkout page to save the
card for the future transactions, he can use the
stored card to pay for the new order.
94. SecurePay Payment Details in Order View
Backend Apart from the customers My Account
section, the admin can also see SecurePay payment
details from the Sales ? Orders ? Order View
section in the backend.
105. SecurePay Payment Method for Backend
Order Just as the frontend, SecurePay payment
method also works with the backend orders. Admin
needs to create a new order, select the customer,
add products, enter the address details, select
SecurePay method, add card details and click
Submit Order to place order from the backend
using the SecurePay Payment method.
11- New Backend Order Placement using Stored Cards
- If the customer has stored cards for the future
transactions, the admin can use the stored cards
while creating a new order from the backend. The
admin needs to create a new order, select the
customer, add products, enter the address
details, select SecurePay stored card, and click
Submit Order to place order from the backend
using the SecurePay payment stored cards.