Skip to content

Magento 2

Nabil SEMAOUNE edited this page Jun 11, 2018 · 4 revisions

This is a technical FAQ arround PayZen payment plugin for Magento 2. It tries to give simple reponses for frequently asked questions to make the plugin customizable for some specific merchant needs.

How to send extra parameters (vads_ext_info_*) to payment gateway ?

You can do so :

  1. Edit file app/code/Lyranetwork/Payzen/Model/Method/Payzen.php.
  2. Add code below to getFormFields() function before code $paramsToLog = $this->payzenRequest->getRequestFieldsArray(true); for example :
     $this->payzenRequest->addExtInfo('param_name', 'param value'); // param_name without vads_ext_info_ prefix

Clone this wiki locally