Pesapal.com

Forum

Welcome, Guest
Username
Password:
 

Official extension Magento 2
(1 viewing) (1) Guest
Welcome to the Pesapal integration forum!

This forum discusses everything about Pesapal integration on your web site. Having any problems? This is the right place to post a question and we are sure you will get an answer
  • Page:
  • 1

TOPIC: Official extension Magento 2

Official extension Magento 2 8 years, 5 months ago #2123

  • jackson
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
I have integrated the official extension in Magento ver. 2.1.2 .
However, I am getting an error.
During checkout the following error occurs:

Fatal error: Uncaught TypeError: Argument 1 passed to Pesapal\Pesapalexpress\Controller\Payment\Index::__construct() must be an instance of Magento\Framework\App\Action\Context, instance of Magento\Framework\ObjectManager\ObjectManager given, called in /home/sites/1a/d/d03e6ba21f/public_html/duka/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php on line 93 and defined in /home/sites/1a/d/d03e6ba21f/public_html/duka/app/code/Pesapal/Pesapalexpress/Controller/Payment/index.php:19 Stack trace: #0 /home/sites/1a/d/d03e6ba21f/public_html/duka/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(93): Pesapal\Pesapalexpress\Controller\Payment\Index->__construct(Object(Magento\Framework\ObjectManager\ObjectManager)) #1 /home/sites/1a/d/d03e6ba21f/public_html/duka/vendor/magento/framework/ObjectManager/Factory/Compiled.php(88): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject('Pesapal\\Pesapal...', Array) #2 /home/sites/1a/d/d03e6ba21f/public_html/duka/vendor/magento/framework/Ob in /home/sites/1a/d/d03e6ba21f/public_html/duka/app/code/Pesapal/Pesapalexpress/Controller/Payment/index.php on line 19


Also the order gets completed and an order email is sent to the customer.

You can recreate the error here ---> shop.agro.co.ke/
  • Page:
  • 1