View Issue Details

IDProjectCategoryView StatusLast Update
0007257OXID eShop B2B EditionB2B edition - subpublic2023-09-08 14:53
Reportermichael_keiluweit Assigned To 
PrioritynormalSeveritycrashReproducibilityalways
Status acknowledgedResolutionopen 
Product Version4.0.0 
Summary0007257: If the paypal module is active, some functionality of the b2b shops breaks.
DescriptionWith an activated PayPal Module the B2B 4.0.0 breaks at some places.
Steps To Reproduce1. Install B2B version 4.0.0.
2. Install B2B Demodata
3. Activate the paypal module

4.1. login: [email protected]
4.2. https://demoshop.oxid-esales.com/b2b-edition/index.php?cl=b2bquickorderdetails&fnc=b2bUploadFileAction
4.3. Choose file: B2B_AlleKiteboards.csv.txt (rename it first to B2B_AlleKiteboards.csv)
4.4. Maintenance Mode (see error log file) (see Additional Information: B2B quickorder overview)

5.1. Put something in the basket
5.2. Open the basket
5.3. Maintenance Mode (see error log file) (see Additional Information: Basket page)

6. Deactivate paypal
7. Do the steps 4 and 5 from above again - they will work now.
Additional InformationAttached files containing the error messages.
TagsNo tags attached.
Attached Files
B2B_quickorder_overview.txt (2,821 bytes)   
demoshop-b2b_1  | [2021-08-18 13:37:32] OXID Logger.ERROR: Argument 1 passed to OxidEsales\PayPalModule\Model\User::getAnonymousId() must be of the type string, null given, called in /var/www/html/source/modules/oe/oepaypal/Model/User.php on line 367 ["[object] (TypeError(code: 0): Argument 1 passed to OxidEsales\\PayPalModule\\Model\\User::getAnonymousId() must be of the type string, null given, called in /var/www/html/source/modules/oe/oepaypal/Model/User.php on line 367 at /var/www/html/source/modules/oe/oepaypal/Model/User.php:337)\n[stacktrace]\n#0 /var/www/html/source/modules/oe/oepaypal/Model/User.php(367): OxidEsales\\PayPalModule\\Model\\User->getAnonymousId(NULL)\n#1 /var/www/html/source/modules/b2b/Basket/Model/B2b/Basket.php(643): OxidEsales\\PayPalModule\\Model\\User->load(NULL)\n#2 /var/www/html/source/modules/b2b/Basket/Model/B2b/Basket.php(605): OxidEsales\\B2BModule\\Basket\\Model\\B2b\\Basket->getUserBasket()\n#3 /var/www/html/source/modules/b2b/Basket/Model/B2b/Basket.php(415): OxidEsales\\B2BModule\\Basket\\Model\\B2b\\Basket->recreateBasketFromDatabase()\n#4 /var/www/html/source/modules/b2b/Basket/Model/B2b/Basket.php(181): OxidEsales\\B2BModule\\Basket\\Model\\B2b\\Basket->decodeBasket(true)\n#5 /var/www/html/source/modules/b2b/QuickOrder/Controller/DetailsController.php(388): OxidEsales\\B2BModule\\Basket\\Model\\B2b\\Basket->load('fe2626de8de558f...')\n#6 /var/www/html/source/modules/b2b/QuickOrder/Controller/DetailsController.php(269): OxidEsales\\B2BModule\\QuickOrder\\Controller\\DetailsController->generateB2bBasketFromInput()\n#7 /var/www/html/vendor/oxid-esales/oxideshop-ce/source/Core/Controller/BaseController.php(534): OxidEsales\\B2BModule\\QuickOrder\\Controller\\DetailsController->b2bUploadFileAction()\n#8 /var/www/html/vendor/oxid-esales/oxideshop-ee/Core/Controller/BaseController.php(64): OxidEsales\\EshopCommunity\\Core\\Controller\\BaseController->executeFunction('b2bUploadFileAc...')\n#9 /var/www/html/vendor/oxid-esales/oxideshop-ce/source/Core/ShopControl.php(347): OxidEsales\\EshopEnterprise\\Core\\Controller\\BaseController->executeFunction('b2bUploadFileAc...')\n#10 /var/www/html/vendor/oxid-esales/oxideshop-ce/source/Core/ShopControl.php(280): OxidEsales\\EshopCommunity\\Core\\ShopControl->executeAction(Object(OxidEsales\\B2BModule\\QuickOrder\\Controller\\DetailsController), 'b2bUploadFileAc...')\n#11 /var/www/html/vendor/oxid-esales/oxideshop-ce/source/Core/ShopControl.php(142): OxidEsales\\EshopCommunity\\Core\\ShopControl->_process('OxidEsales\\\\B2BM...', 'b2bUploadFileAc...', NULL, NULL)\n#12 /var/www/html/vendor/oxid-esales/oxideshop-ce/source/Core/Oxid.php(27): OxidEsales\\EshopCommunity\\Core\\ShopControl->start()\n#13 /var/www/html/source/index.php(16): OxidEsales\\EshopCommunity\\Core\\Oxid::run()\n#14 {main}\n"] []
B2B_quickorder_overview.txt (2,821 bytes)   
B2B_basket_page.txt (3,803 bytes)   
demoshop-b2b_1  | [2021-08-18 13:40:34] OXID Logger.ERROR: Argument 1 passed to OxidEsales\PayPalModule\Model\User::getAnonymousId() must be of the type string, null given, called in /var/www/html/source/modules/oe/oepaypal/Model/User.php on line 367 ["[object] (TypeError(code: 0): Argument 1 passed to OxidEsales\\PayPalModule\\Model\\User::getAnonymousId() must be of the type string, null given, called in /var/www/html/source/modules/oe/oepaypal/Model/User.php on line 367 at /var/www/html/source/modules/oe/oepaypal/Model/User.php:337)\n[stacktrace]\n#0 /var/www/html/source/modules/oe/oepaypal/Model/User.php(367): OxidEsales\\PayPalModule\\Model\\User->getAnonymousId(NULL)\n#1 /var/www/html/source/modules/b2b/Basket/Model/B2b/Basket.php(643): OxidEsales\\PayPalModule\\Model\\User->load(NULL)\n#2 /var/www/html/source/modules/b2b/Basket/Model/B2b/Basket.php(605): OxidEsales\\B2BModule\\Basket\\Model\\B2b\\Basket->getUserBasket()\n#3 /var/www/html/source/modules/b2b/Basket/Model/B2b/Basket.php(415): OxidEsales\\B2BModule\\Basket\\Model\\B2b\\Basket->recreateBasketFromDatabase()\n#4 /var/www/html/source/modules/b2b/Basket/Model/B2b/Basket.php(181): OxidEsales\\B2BModule\\Basket\\Model\\B2b\\Basket->decodeBasket(true)\n#5 /var/www/html/source/modules/b2b/Basket/Core/ViewConfig.php(44): OxidEsales\\B2BModule\\Basket\\Model\\B2b\\Basket->load(NULL)\n#6 /var/www/html/source/modules/b2b/Basket/Core/ViewConfig.php(28): OxidEsales\\B2BModule\\Basket\\Core\\ViewConfig->getB2bBasketName(NULL, NULL)\n#7 /var/www/html/source/tmp/smarty/fab621f22b86deb811bccc5b2a34acac^%%52^524^524E7B19%%basket.tpl.php(144): OxidEsales\\B2BModule\\Basket\\Core\\ViewConfig->b2bGetBasketName()\n#8 /var/www/html/vendor/smarty/smarty/libs/Smarty.class.php(1270): include('/var/www/html/s...')\n#9 /var/www/html/vendor/oxid-esales/oxideshop-ce/source/Internal/Framework/Smarty/Legacy/LegacySmartyEngine.php(66): Smarty->fetch('page/checkout/b...', 'ox|https://demo...')\n#10 /var/www/html/vendor/oxid-esales/oxideshop-ce/source/Internal/Framework/Templating/TemplateRenderer.php(35): OxidEsales\\EshopCommunity\\Internal\\Framework\\Smarty\\Legacy\\LegacySmartyEngine->render('page/checkout/b...', Array)\n#11 /var/www/html/vendor/oxid-esales/oxideshop-ce/source/Core/ShopControl.php(509): OxidEsales\\EshopCommunity\\Internal\\Framework\\Templating\\TemplateRenderer->renderTemplate('page/checkout/b...', Array)\n#12 /var/www/html/vendor/oxid-esales/oxideshop-ee/Core/ShopControl.php(209): OxidEsales\\EshopCommunity\\Core\\ShopControl->_render(Object(OxidEsales\\B2BModule\\ApprovalProcedure\\Controller\\CheckoutBasketController))\n#13 /var/www/html/vendor/oxid-esales/oxideshop-ce/source/Core/ShopControl.php(359): OxidEsales\\EshopEnterprise\\Core\\ShopControl->_render(Object(OxidEsales\\B2BModule\\ApprovalProcedure\\Controller\\CheckoutBasketController))\n#14 /var/www/html/vendor/oxid-esales/oxideshop-ee/Core/ShopControl.php(98): OxidEsales\\EshopCommunity\\Core\\ShopControl->formOutput(Object(OxidEsales\\B2BModule\\ApprovalProcedure\\Controller\\CheckoutBasketController))\n#15 /var/www/html/vendor/oxid-esales/oxideshop-ce/source/Core/ShopControl.php(282): OxidEsales\\EshopEnterprise\\Core\\ShopControl->formOutput(Object(OxidEsales\\B2BModule\\ApprovalProcedure\\Controller\\CheckoutBasketController))\n#16 /var/www/html/vendor/oxid-esales/oxideshop-ce/source/Core/ShopControl.php(142): OxidEsales\\EshopCommunity\\Core\\ShopControl->_process('OxidEsales\\\\Esho...', NULL, NULL, NULL)\n#17 /var/www/html/vendor/oxid-esales/oxideshop-ce/source/Core/Oxid.php(27): OxidEsales\\EshopCommunity\\Core\\ShopControl->start()\n#18 /var/www/html/source/index.php(16): OxidEsales\\EshopCommunity\\Core\\Oxid::run()\n#19 /var/www/html/source/oxseo.php(29): require('/var/www/html/s...')\n#20 {main}\n"] []
B2B_basket_page.txt (3,803 bytes)   
B2B_AlleKiteboards.csv.txt (204 bytes)   
row;qty;articlenum;articlename
1;3;"1302";"Kiteboard CABRINHA CALIBER 2020"
2;3;"1304";"Kiteboard FLYBOARDS FLYWAVE 2019"
3;3;"1303";"Kiteboard NAISH MOMENTUM"
4;3;"1301";"Kiteboard RRD TOXIC WAVE2"
B2B_AlleKiteboards.csv.txt (204 bytes)   

Activities