View Issue Details

IDProjectCategoryView StatusLast Update
0007342module PayPal Checkoutmodule PayPal checkout - subpublic2022-09-21 14:06
ReporterJBlanck Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionunable to reproduce 
Product Version2.1.3 / 1.1.3 
Summary0007342: After Ubdate from 1.1.3 to 1.1.5 [Call to undefined method OxidSolutionCatalysts] in checkout
DescriptionAn update of the modul crashes the installation and triggers Error prompt in checkout process when pressing "next" to selecting payment method (/index.php?cl=payment)

Uppon request under following linked conversation i have also tried following

composer require OXID-solution-catalysts/paypal-module dev-b-6.1.x (or ^1.1 or 1.1.5)

Linked Conversation with @Mario_Lorenz
https://forum.oxid-esales.com/t/paypal-checkout-class-not-found/98580/4
https://forum.oxid-esales.com/t/aw-paypal-checkout-class-not-found/98582
Steps To ReproduceOxid Version 6.1.5
Already installed PayPal Checkout Version 1.1.3

composer require OXID-solution-catalysts/paypal-module dev-b-6.1.x (or ^1.1 or 1.1.5)
composer update
Clear temp
Enter backend Activate Module
-> error triggered (img:PaypalCheckout_Bug.jpg)
clear tmp wait a bit
Module can now be activated
Enter shop frontend
Try to checkout product
-> error triggered (oxidshop.log) [Call to undefined method OxidSolutionCatalysts...]



TagsNo tags attached.
Attached Files
PaypalCheckout_Bug.JPG (69,723 bytes)   
PaypalCheckout_Bug.JPG (69,723 bytes)   
oxideshop.txt (8,941 bytes)   
[2022-08-02 15:13:19] OXID Logger.ERROR: Fehler: Modul nicht aktiviert.<br />In einem Shop oder Sub-Shop müssen Schüssel und Werte für "controllers" eindeutig sein.<br />Folgende Schlüssel oder Werte für "controllers", die in der Datei metadata.php dieses Moduls definiert sind, existieren schon im Shop:<br /> OxidSolutionCatalysts\PayPal\Controller\Admin\PayPalConfigController,OxidSolutionCatalysts\PayPal\Controller\WebhookController,OxidSolutionCatalysts\PayPal\Controller\ProxyController,OxidSolutionCatalysts\PayPal\Controller\Admin\OnboardingController,OxidSolutionCatalysts\PayPal\Controller\Admin\PayPalOrderController ["[object] (OxidEsales\\Eshop\\Core\\Exception\\StandardException(code: 0): Fehler: Modul nicht aktiviert.<br />In einem Shop oder Sub-Shop müssen Schüssel und Werte für \"controllers\" eindeutig sein.<br />Folgende Schlüssel oder Werte für \"controllers\", die in der Datei metadata.php dieses Moduls definiert sind, existieren schon im Shop:<br /> OxidSolutionCatalysts\\PayPal\\Controller\\Admin\\PayPalConfigController,OxidSolutionCatalysts\\PayPal\\Controller\\WebhookController,OxidSolutionCatalysts\\PayPal\\Controller\\ProxyController,OxidSolutionCatalysts\\PayPal\\Controller\\Admin\\OnboardingController,OxidSolutionCatalysts\\PayPal\\Controller\\Admin\\PayPalOrderController at /var/www/html/vendor/oxid-esales/oxideshop-ce/source/Core/UtilsObject.php:231)\n[stacktrace]\n#0 /var/www/html/source/oxfunctions.php(101): OxidEsales\\EshopCommunity\\Core\\UtilsObject->oxNew('OxidEsales\\\\Esho...')\n#1 /var/www/html/vendor/oxid-esales/oxideshop-ce/source/Core/Module/ModuleInstaller.php(108): oxNew('OxidEsales\\\\Esho...')\n#2 /var/www/html/vendor/oxid-esales/oxideshop-ce/source/Application/Controller/Admin/ModuleMain.php(83): OxidEsales\\EshopCommunity\\Core\\Module\\ModuleInstaller->activate(Object(OxidEsales\\Eshop\\Core\\Module\\Module))\n#3 /var/www/html/vendor/oxid-esales/oxideshop-ce/source/Core/Controller/BaseController.php(524): OxidEsales\\EshopCommunity\\Application\\Controller\\Admin\\ModuleMain->activateModule()\n#4 /var/www/html/vendor/oxid-esales/oxideshop-ce/source/Core/ShopControl.php(332): OxidEsales\\EshopCommunity\\Core\\Controller\\BaseController->executeFunction('activateModule')\n#5 /var/www/html/vendor/oxid-esales/oxideshop-ce/source/Core/ShopControl.php(274): OxidEsales\\EshopCommunity\\Core\\ShopControl->executeAction(Object(OxidEsales\\Eshop\\Application\\Controller\\Admin\\ModuleMain), 'activateModule')\n#6 /var/www/html/vendor/oxid-esales/oxideshop-ce/source/Core/ShopControl.php(137): OxidEsales\\EshopCommunity\\Core\\ShopControl->_process('OxidEsales\\\\Esho...', 'activateModule', NULL, NULL)\n#7 /var/www/html/vendor/oxid-esales/oxideshop-ce/source/Core/Oxid.php(26): OxidEsales\\EshopCommunity\\Core\\ShopControl->start()\n#8 /var/www/html/source/index.php(15): OxidEsales\\EshopCommunity\\Core\\Oxid::run()\n#9 /var/www/html/source/admin/index.php(11): require_once('/var/www/html/s...')\n#10 {main}\n"] []
[2022-08-02 15:13:59] OXID Logger.ERROR: EXCEPTION_SYSTEMCOMPONENT_CLASSNOTFOUND oscpaypalconfig ["[object] (OxidEsales\\Eshop\\Core\\Exception\\SystemComponentException(code: 0): EXCEPTION_SYSTEMCOMPONENT_CLASSNOTFOUND oscpaypalconfig at /var/www/html/vendor/oxid-esales/oxideshop-ce/source/Core/UtilsObject.php:222)\n[stacktrace]\n#0 /var/www/html/source/oxfunctions.php(101): OxidEsales\\EshopCommunity\\Core\\UtilsObject->oxNew('oscpaypalconfig')\n#1 /var/www/html/vendor/oxid-esales/oxideshop-ce/source/Core/ShopControl.php(372): oxNew('oscpaypalconfig')\n#2 /var/www/html/vendor/oxid-esales/oxideshop-ce/source/Core/ShopControl.php(272): OxidEsales\\EshopCommunity\\Core\\ShopControl->_initializeViewObject('oscpaypalconfig', NULL, NULL, NULL)\n#3 /var/www/html/vendor/oxid-esales/oxideshop-ce/source/Core/ShopControl.php(137): OxidEsales\\EshopCommunity\\Core\\ShopControl->_process('oscpaypalconfig', NULL, NULL, NULL)\n#4 /var/www/html/vendor/oxid-esales/oxideshop-ce/source/Core/Oxid.php(26): OxidEsales\\EshopCommunity\\Core\\ShopControl->start()\n#5 /var/www/html/source/index.php(15): OxidEsales\\EshopCommunity\\Core\\Oxid::run()\n#6 /var/www/html/source/admin/index.php(11): require_once('/var/www/html/s...')\n#7 {main}\n"] []
[02 Aug 15:18:37.078217 2022] [exception] [type Error] [code 0] [file /var/www/html/vendor/oxid-solution-catalysts/paypal-module/src/Service/UserRepository.php] [line 74] [message Call to undefined method OxidSolutionCatalysts\PayPal\Service\UserRepository::session()]
[02 Aug 15:18:37.078217 2022] [exception] [stacktrace] #0 /var/www/html/vendor/oxid-solution-catalysts/paypal-module/src/Controller/PaymentController.php(31): OxidSolutionCatalysts\PayPal\Service\UserRepository->getUserCountryIso()
[02 Aug 15:18:37.078217 2022] [exception] [stacktrace] #1 /var/www/html/vendor/oxid-esales/oxideshop-ce/source/Application/Controller/PaymentController.php(399): OxidSolutionCatalysts\PayPal\Controller\PaymentController->getPaymentList()
[02 Aug 15:18:37.078217 2022] [exception] [stacktrace] #2 /var/www/html/vendor/oxid-esales/oxideshop-ce/source/Application/Controller/PaymentController.php(189): OxidEsales\EshopCommunity\Application\Controller\PaymentController->getAllSetsCnt()
[02 Aug 15:18:37.078217 2022] [exception] [stacktrace] #3 /var/www/html/vendor/oxid-esales/oxideshop-ce/source/Core/ShopControl.php(453): OxidEsales\EshopCommunity\Application\Controller\PaymentController->render()
[02 Aug 15:18:37.078217 2022] [exception] [stacktrace] #4 /var/www/html/vendor/oxid-esales/oxideshop-ce/source/Core/ShopControl.php(344): OxidEsales\EshopCommunity\Core\ShopControl->_render(Object(OxidSolutionCatalysts\PayPal\Controller\PaymentController))
[02 Aug 15:18:37.078217 2022] [exception] [stacktrace] #5 /var/www/html/vendor/oxid-esales/oxideshop-ce/source/Core/ShopControl.php(276): OxidEsales\EshopCommunity\Core\ShopControl->formOutput(Object(OxidSolutionCatalysts\PayPal\Controller\PaymentController))
[02 Aug 15:18:37.078217 2022] [exception] [stacktrace] #6 /var/www/html/vendor/oxid-esales/oxideshop-ce/source/Core/ShopControl.php(137): OxidEsales\EshopCommunity\Core\ShopControl->_process('OxidEsales\\Esho...', NULL, NULL, NULL)
[02 Aug 15:18:37.078217 2022] [exception] [stacktrace] #7 /var/www/html/vendor/oxid-esales/oxideshop-ce/source/Core/Oxid.php(26): OxidEsales\EshopCommunity\Core\ShopControl->start()
[02 Aug 15:18:37.078217 2022] [exception] [stacktrace] #8 /var/www/html/source/index.php(15): OxidEsales\EshopCommunity\Core\Oxid::run()
[02 Aug 15:18:37.078217 2022] [exception] [stacktrace] #9 {main}
[02 Aug 15:20:07.871494 2022] [exception] [type Error] [code 0] [file /var/www/html/vendor/oxid-solution-catalysts/paypal-module/src/Service/UserRepository.php] [line 74] [message Call to undefined method OxidSolutionCatalysts\PayPal\Service\UserRepository::session()]
[02 Aug 15:20:07.871494 2022] [exception] [stacktrace] #0 /var/www/html/vendor/oxid-solution-catalysts/paypal-module/src/Controller/PaymentController.php(31): OxidSolutionCatalysts\PayPal\Service\UserRepository->getUserCountryIso()
[02 Aug 15:20:07.871494 2022] [exception] [stacktrace] #1 /var/www/html/vendor/oxid-esales/oxideshop-ce/source/Application/Controller/PaymentController.php(399): OxidSolutionCatalysts\PayPal\Controller\PaymentController->getPaymentList()
[02 Aug 15:20:07.871494 2022] [exception] [stacktrace] #2 /var/www/html/vendor/oxid-esales/oxideshop-ce/source/Application/Controller/PaymentController.php(189): OxidEsales\EshopCommunity\Application\Controller\PaymentController->getAllSetsCnt()
[02 Aug 15:20:07.871494 2022] [exception] [stacktrace] #3 /var/www/html/vendor/oxid-esales/oxideshop-ce/source/Core/ShopControl.php(453): OxidEsales\EshopCommunity\Application\Controller\PaymentController->render()
[02 Aug 15:20:07.871494 2022] [exception] [stacktrace] #4 /var/www/html/vendor/oxid-esales/oxideshop-ce/source/Core/ShopControl.php(344): OxidEsales\EshopCommunity\Core\ShopControl->_render(Object(OxidSolutionCatalysts\PayPal\Controller\PaymentController))
[02 Aug 15:20:07.871494 2022] [exception] [stacktrace] #5 /var/www/html/vendor/oxid-esales/oxideshop-ce/source/Core/ShopControl.php(276): OxidEsales\EshopCommunity\Core\ShopControl->formOutput(Object(OxidSolutionCatalysts\PayPal\Controller\PaymentController))
[02 Aug 15:20:07.871494 2022] [exception] [stacktrace] #6 /var/www/html/vendor/oxid-esales/oxideshop-ce/source/Core/ShopControl.php(137): OxidEsales\EshopCommunity\Core\ShopControl->_process('OxidEsales\\Esho...', NULL, NULL, NULL)
[02 Aug 15:20:07.871494 2022] [exception] [stacktrace] #7 /var/www/html/vendor/oxid-esales/oxideshop-ce/source/Core/Oxid.php(26): OxidEsales\EshopCommunity\Core\ShopControl->start()
[02 Aug 15:20:07.871494 2022] [exception] [stacktrace] #8 /var/www/html/source/index.php(15): OxidEsales\EshopCommunity\Core\Oxid::run()
[02 Aug 15:20:07.871494 2022] [exception] [stacktrace] #9 {main}
oxideshop.txt (8,941 bytes)   

Activities

QA

2022-08-03 14:00

administrator   ~0013977

I have tried to reproduce the behavior (update PPC v1.1.4 -> v1.1.5) on our support server in a standard installation with the following system requirements that must be met:
 - PHP 7.1.33 (cli)
 - PHP version 7.1.33
 - Composer version 1.10.10

With activated module PayPal Checkout and subsequent update the following message was displayed:
ERROR: Fehler: Modul nicht aktiviert.
In einem Shop oder Sub-Shop müssen Schüssel und Werte für "controllers" eindeutig sein.
Folgende Schlüssel oder Werte für "controllers", die in der Datei metadata.php dieses Moduls definiert sind, existieren schon im Shop:
OxidSolutionCatalysts\PayPal\Controller\Admin\PayPalConfigController,OxidSolutionCatalysts\PayPal\Controller\WebhookController,OxidSolutionCatalysts\PayPal\Controller\ProxyController,OxidSolutionCatalysts\PayPal\Controller\Admin\OnboardingController,OxidSolutionCatalysts\PayPal\Controller\Admin\PayPalOrderController

A renewed activation overwrote the existing values in the store and activated the module without further errors.
However, the module should be deactivated before the update and then reactivated.

Therefore, check the system requirements in advance.
Have you tried to deactivate all modules, perform a composer update and then reactivate the PayPal Checkout module?
PPC_Update_0.JPG (204,645 bytes)   
PPC_Update_0.JPG (204,645 bytes)   
PPC_Update_1.JPG (91,335 bytes)   
PPC_Update_1.JPG (91,335 bytes)   

QA

2022-08-15 14:05

administrator   ~0014043

Since Friday we have released the PayPal Checkout version v1.1.6 / 2.2.6.
Have you already installed and retested it?
Please send us a short feedback so that we can close the bug.

QA

2022-09-16 15:57

administrator   ~0014307

No feedback since a month. The entry is therefore hereby closed. If you have any further information about this topic, please contact the Technical Support with the bug id as reference, thank you.

Kind regards
Michael Keiluweit