When we creating the Payrexx object we are passing argument values for 'instance' and 'apiSecret'.
In Magento the following code is working fine in Latest versions but it is not working in Magento version 2.1.12 i.e.) the parameter values does not pass during the object creation in version 2.1.12
'instance' => $config['instance_name'],
'apiSecret' => $config['api_secret']
We are getting teh error message:
Warning: Missing argument 2 for Payrexx\Payrexx::__construct(), called in /var/www/html/magento2112/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php on line 93 and defined in /var/www/html/magento2112/vendor/payrexx/payrexx/lib/Payrexx/Payrexx.php on line 29
We were creating a Plugin for a payment gateway called 'Payrexx'. When we uploaded the Plugin to Market place, it was rejected on the following grounds:.
Code Issues: Testing: Errors were discovered during testing and will be listed in the Additional Comments section below. Once these issues are corrected, please reupload your package.
Reasons for failure:
|Any suggestions how to overcome this issue?|