Magento 2 extension. Merchant Integration Manual

Download Magento 2 module (updated 02.03.2023)

Features

  • Adds EveryPay payment gateway service to the Magneto 2 installation for supporting
    Card and Open Banking payments.
  • Enables embedding the payment form to the checkout workflow in iFrame for card
    payments.
  • Customer Initiated Token (one-click) payment allow returning customers to perform
    payments faster and easier using saved card details.

iFrame card payment form:

 

Open Banking payment (always redirect)


Requirements
The extension has been tested to work with the following Magento versions:
● Magento 2.3.3, Magento 2.4.x, compatible with PHP 8
However, it’s possible that the extension works even when these are not met.

Installation
The extension can be installed from the command line.
See below for instructions.

Command line
EveryPay extension is available on EveryPay Support website free of charge:
1. Download and unzip latest Magento 2 module.
2. Open Magento directory, app folder
3. Create folders 3 folders:

  • code
  • Lumav
  • EveryPay

Folders structure should be like this…\magento\app\code\Lumav\EveryPay

4. Open EveryPay folder which you created in a previous step and copy all content
from our Magento 2 module
5. Open command line as Administrator
6. Go to Magento folder using terminal
7. Enter the following commands at the command line (PHP directory path should be defined if you are using Windows):

  • php bin/magento module:enable Lumav_EveryPay
  • php bin/magento setup:upgrade
  • php bin/magento cache:flush

When it is production mode also run commands:

  • bin/magento setup:di:compile
  • bin/magento setup:static-content:deploy

8. Proceed to configuration at Stores > Configuration > Sales > Payment Methods> EveryPay.

Configuration
Once the extension is installed, it can be configured via Stores > Configuration >> Sales >Payment methods.

Due to the reason that some of the banks do not support 3DS inside the iFrame we recommend to set up redirect payment flow.

Callback notification set up in merchant portal
Callback notifications are used to inform updated status of the payments. When the payment
is finalized by a customer notification is sent to the callback_url. Notifications include
payment_reference and order_reference.

  • Callback_url must be added in the merchant portal under e-shop settings
  • Callback_url is baseUrl/everypay/payment/status where baseUrl is your e-shop url.
  • Please do not add to the Callback-url /ee , /en , /lv etc if your URL changes based on language.

*Please ensure that you access the correct environments.

Field name Description
Gateway URL Select TEST or LIVE. Depending on the environment you need to use
API username /
test API
username
Everypay Production(Live) and Test servers have different API credentials.
API settings are defined in EveryPay Merchant Portal
PRODUCTION(LIVE): https://portal.every-pay.eu/merchant_settings/general
TEST: https://mwt-demo.every-pay.com/merchant_settings/general
Looks like this (16 symbols): 68d9463b47d9a364
API Account
Name
Processing accounts are defined in EveryPay Merchant Portal.
PRODUCTION(LIVE):
https://portal.every-pay.eu/merchant_settings/currency_facilities
TEST: https://mwt-demo.every-pay.com/merchant_settings/currency_facilities
Looks like this: EUR3D1 or USD3D1
Payment
Integration
Variants
iFrame – payment form is embedded in the checkout workflow.
Redirect – after checkout the buyer is redirect to EveryPay payment page.
* Open banking payments are always redirect.
Enable Payment
With Saved Card
Enables one-click-payments which allows returning customers to save their card details (a reference token to required card information in EveryPay system) for faster and easier payments in the future.
Enable this
Solution
Enable or disable EveryPay Payment Method.
Title of Card
Payments
Title that is shown under transactions menu as Payment Method. For example “Card Payment”.
Title of Bank
Payment
Title that is shown under transactions menu as Payment Method. For example “Bank Payment”.
Title of Alternative
Payment
Title that is shown under transactions menu as Payment Method. For example “Alternative Payment”.
Sort order When system has several active payment methods installed, this field determines their display order.
Update Payment
Methods
Can update payment methods manually.
in Integracijos dokumentacija
Ar šis straipsnis Jums buvo naudingas?