View Issue Details

IDProjectCategoryView StatusLast Update
0007447module UnzerGeneralpublic2023-03-31 00:18
ReporterOxidSimonGassenschmidt Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Fixed in Version1.0.2 
Summary0007447: Markup due to negative discount per shopping cart leads to maintainance mode
DescriptionIf you have a negative discount which counts per basket, not per article, unzer payment fails.
Steps To ReproduceDo not use the demo discounts

1. Install EE 6.5
2. Install Unzer
3. Create a Discount e.g
Quantity 1 From To 9999999
Purchase Price (€) 1 From To 9999999
Discount -50 %
4. make an order, so there is a discount per basket, not per article

checkout fails with maintenance mode
Additional Information[2023-03-20 13:10:44] OXID Logger.ERROR: __clone method called on non-object ["[object] (Error(code: 0): __clone method called on non-object at /var/www/oxideshop/vendor/oxid-esales/oxideshop-ce/source/Application/Model/Order.php:1015)\n[stacktrace]\n#0 /var/www/oxideshop/vendor/oxid-esales/unzer/src/Model/Order.php(69): OxidEsales\\EshopCommunity\\Application\\Model\\Order->_setPayment('oscunzer_card')\n#1 /var/www/oxideshop/vendor/oxid-esales/unzer/src/Controller/OrderController.php(79): OxidSolutionCatalysts\\Unzer\\Model\\Order->finalizeUnzerOrderAfterRedirect(Object(OxidEsales\\Eshop\\Application\\Model\\Basket), Object(OxidEsales\\Eshop\\Application\\Model\\User))\n#2 /var/www/oxideshop/vendor/oxid-esales/oxideshop-ce/source/Core/Controller/BaseController.php(534): OxidSolutionCatalysts\\Unzer\\Controller\\OrderController->unzerExecuteAfterRedirect()\n#3 /var/www/oxideshop/vendor/oxid-esales/oxideshop-ee/Core/Controller/BaseController.php(64): OxidEsales\\EshopCommunity\\Core\\Controller\\BaseController->executeFunction('unzerExecuteAft...')\n#4 /var/www/oxideshop/vendor/oxid-esales/oxideshop-ce/source/Core/ShopControl.php(347): OxidEsales\\EshopEnterprise\\Core\\Controller\\BaseController->executeFunction('unzerExecuteAft...')\n#5 /var/www/oxideshop/vendor/oxid-esales/oxideshop-ce/source/Core/ShopControl.php(280): OxidEsales\\EshopCommunity\\Core\\ShopControl->executeAction(Object(OxidSolutionCatalysts\\Unzer\\Controller\\OrderController), 'unzerExecuteAft...')\n#6 /var/www/oxideshop/vendor/oxid-esales/oxideshop-ce/source/Core/ShopControl.php(142): OxidEsales\\EshopCommunity\\Core\\ShopControl->_process('OxidEsales\\\\Esho...', 'unzerExecuteAft...', NULL, NULL)\n#7 /var/www/oxideshop/vendor/oxid-esales/oxideshop-ce/source/Core/Oxid.php(27): OxidEsales\\EshopCommunity\\Core\\ShopControl->start()\n#8 /var/www/oxideshop/source/index.php(16): OxidEsales\\EshopCommunity\\Core\\Oxid::run()\n#9 {main}\n"] []
TagsNo tags attached.
Attached Files
discount.JPG (43,102 bytes)   
discount.JPG (43,102 bytes)   
basket.JPG (98,298 bytes)   
basket.JPG (98,298 bytes)   

Activities

QA

2023-03-20 17:08

administrator   ~0015100

- es -