View Issue Details

IDProjectCategoryView StatusLast Update
0007460module Amazon Paymainpublic2023-04-24 10:22
ReporterSteven Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version2.1.0 
Fixed in Version2.1.1 
Summary0007460: Shop crashes, when jumping back in checkout after AmazonPay Express usage
DescriptionWhen you use AmazonPay Express you are redirected to last checkout step after login to Amazon. If you now use the navigation to jump back to step 2 to change your addresses and then want to continue the checkout, the shop goes to Maintenance Mode.

An error is written to log. See additional information.
Steps To Reproduce- Go to any product details page.
- Click the AmazonPay button to use AmazonPay Express checkout.
- Login to Amazon using your account details.
- You are redirected to the shop to checkout step 4.
- Now click on step 2 at the top.
- Then click on "Continue to the next step" (no need to change any information).

You will see the maintenance page and an entry should be written to the oxideshop.log.
Additional Information[2023-04-14 12:33:20] OXID Logger.ERROR: OxidSolutionCatalysts\AmazonPay\Component\UserComponent::_getDelAddressData(): Return value must be of type array, null returned ["[object] (TypeError(code: 0): OxidSolutionCatalysts\\AmazonPay\\Component\\UserComponent::_getDelAddressData(): Return value must be of type array, null returned at /var/www/oxideshop/vendor/oxid-esales/amazon-pay-module/src/Component/UserComponent.php:142)\n[stacktrace]\n#0 /var/www/oxideshop/vendor/oxid-esales/oxideshop-ce/source/Application/Component/UserComponent.php(692): OxidSolutionCatalysts\\AmazonPay\\Component\\UserComponent->_getDelAddressData()\n#1 /var/www/oxideshop/vendor/oxid-esales/oxideshop-ce/source/Application/Component/UserComponent.php(663): OxidEsales\\EshopCommunity\\Application\\Component\\UserComponent->changeUserWithoutRedirect()\n#2 /var/www/oxideshop/vendor/oxid-esales/oxideshop-ce/source/Application/Component/UserComponent.php(368): OxidEsales\\EshopCommunity\\Application\\Component\\UserComponent->_changeUser_noRedirect()\n#3 /var/www/oxideshop/vendor/oxid-esales/oxideshop-ce/source/Core/Controller/BaseController.php(534): OxidEsales\\EshopCommunity\\Application\\Component\\UserComponent->changeUser()\n#4 /var/www/oxideshop/vendor/oxid-esales/oxideshop-ee/Core/Controller/BaseController.php(64): OxidEsales\\EshopCommunity\\Core\\Controller\\BaseController->executeFunction('changeuser')\n#5 /var/www/oxideshop/vendor/oxid-esales/oxideshop-ce/source/Application/Controller/FrontendController.php(548): OxidEsales\\EshopEnterprise\\Core\\Controller\\BaseController->executeFunction('changeuser')\n#6 /var/www/oxideshop/vendor/oxid-esales/oxideshop-ce/source/Core/ShopControl.php(398): OxidEsales\\EshopCommunity\\Application\\Controller\\FrontendController->init()\n#7 /var/www/oxideshop/vendor/oxid-esales/oxideshop-ce/source/Core/ShopControl.php(278): OxidEsales\\EshopCommunity\\Core\\ShopControl->_initializeViewObject('OxidEsales\\\\Esho...', 'changeuser', NULL, NULL)\n#8 /var/www/oxideshop/vendor/oxid-esales/oxideshop-ce/source/Core/ShopControl.php(142): OxidEsales\\EshopCommunity\\Core\\ShopControl->_process('OxidEsales\\\\Esho...', 'changeuser', NULL, NULL)\n#9 /var/www/oxideshop/vendor/oxid-esales/oxideshop-ce/source/Core/Oxid.php(27): OxidEsales\\EshopCommunity\\Core\\ShopControl->start()\n#10 /var/www/oxideshop/source/index.php(16): OxidEsales\\EshopCommunity\\Core\\Oxid::run()\n#11 {main}\n"] []
TagsNo tags attached.

Activities

There are no notes attached to this issue.