Bei der Zurückleitung von Paypal auf den JTL Shop kommt es zum Fehler:
Fatal error: Uncaught TypeError: Argument 3 passed to Plugin\jtl_paypal\paymentmethod\PendingPayment::__construct() must be of the type string, null given, called in
/shop/plugins/jtl_paypal/paymentmethod/PendingPayment.php on line 139 and defined in /shop/plugins/jtl_paypal/paymentmethod/PendingPayment.php:53 Stack trace: #0
/shop/plugins/jtl_paypal/paymentmethod/PendingPayment.php(139): Plugin\jtl_paypal\paymentmethod\PendingPayment->__construct(Object(JTL\DB\NiceDB), NULL, NULL) #1
/shop/plugins/jtl_paypal/Handler.php(202): Plugin\jtl_paypal\paymentmethod\PendingPayment::recycle(Object(JTL\DB\NiceDB), NULL, 'kPlugin_5_paypa...') #2
/shop/plugins/jtl_paypal/Handler.php(154): Plugin\jtl_paypal\Handler->smartyOrderPage(Object(JTL\Smarty\JTLSmarty)) #3 /shop/includes/src/Events/Dispatcher.php(70): Plugin\jtl_paypal\Handler->smarty(Array) #4 /kund in /shop/plugins/jtl_paypal/paymentmethod/PendingPayment.php on line 53
So wie ich das verstehe, wird die moduleID "kPlugin_5_paypal" im PendingPayment.php constructor nicht übergeben
private function __construct(DbInterface $db, ?string $pendingID, string $moduleID)
{
$this->db = $db;
$this->setPendingID($pendingID ?? self::createID());
$this->setModuleID($moduleID);
}
In der recycle Methode steht Sie aber komischerweise mit drin: PendingPayment::recycle(Object(JTL\DB\NiceDB), NULL, 'kPlugin_5_paypa...') #2
Kennt jemand das Problem?
Fatal error: Uncaught TypeError: Argument 3 passed to Plugin\jtl_paypal\paymentmethod\PendingPayment::__construct() must be of the type string, null given, called in
/shop/plugins/jtl_paypal/paymentmethod/PendingPayment.php on line 139 and defined in /shop/plugins/jtl_paypal/paymentmethod/PendingPayment.php:53 Stack trace: #0
/shop/plugins/jtl_paypal/paymentmethod/PendingPayment.php(139): Plugin\jtl_paypal\paymentmethod\PendingPayment->__construct(Object(JTL\DB\NiceDB), NULL, NULL) #1
/shop/plugins/jtl_paypal/Handler.php(202): Plugin\jtl_paypal\paymentmethod\PendingPayment::recycle(Object(JTL\DB\NiceDB), NULL, 'kPlugin_5_paypa...') #2
/shop/plugins/jtl_paypal/Handler.php(154): Plugin\jtl_paypal\Handler->smartyOrderPage(Object(JTL\Smarty\JTLSmarty)) #3 /shop/includes/src/Events/Dispatcher.php(70): Plugin\jtl_paypal\Handler->smarty(Array) #4 /kund in /shop/plugins/jtl_paypal/paymentmethod/PendingPayment.php on line 53
So wie ich das verstehe, wird die moduleID "kPlugin_5_paypal" im PendingPayment.php constructor nicht übergeben
private function __construct(DbInterface $db, ?string $pendingID, string $moduleID)
{
$this->db = $db;
$this->setPendingID($pendingID ?? self::createID());
$this->setModuleID($moduleID);
}
In der recycle Methode steht Sie aber komischerweise mit drin: PendingPayment::recycle(Object(JTL\DB\NiceDB), NULL, 'kPlugin_5_paypa...') #2
Kennt jemand das Problem?