After making a payment outside the site, I was redirected back to the site to the page "You are not authorized to access this page."
There are two errors on the Recent log messages page:
1. Path: /uk/checkout/59/payment/return. Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException: in Drupal\Core\Routing\AccessAwareRouter->checkAccess() (line 121 of /var/www/insurance/web/core/lib/Drupal/Core/Routing/AccessAwareRouter.php).
2. Warning: Undefined array key "order_id" in Drupal\commerce_fondy\Plugin\Commerce\PaymentGateway\OffsiteRedirect->onReturn() (line 125 of /var/www/insurance/web/modules/contrib/commerce_fondy/src/Plugin/Commerce/PaymentGateway/OffsiteRedirect.php)
#0 /var/www/insurance/web/core/includes/bootstrap.inc(347): _drupal_error_handler_real()
#1 /var/www/insurance/web/modules/contrib/commerce_fondy/src/Plugin/Commerce/PaymentGateway/OffsiteRedirect.php(125): _drupal_error_handler()
#2 /var/www/insurance/web/modules/contrib/commerce/modules/payment/src/Controller/PaymentCheckoutController.php(122): Drupal\commerce_fondy\Plugin\Commerce\PaymentGateway\OffsiteRedirect->onReturn()
#3 [internal function]: Drupal\commerce_payment\Controller\PaymentCheckoutController->returnPage()
#4 /var/www/insurance/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array()
#5 /var/www/insurance/web/core/lib/Drupal/Core/Render/Renderer.php(580): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#6 /var/www/insurance/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(124): Drupal\Core\Render\Renderer->executeInRenderContext()
#7 /var/www/insurance/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(97): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext()
#8 /var/www/insurance/vendor/symfony/http-kernel/HttpKernel.php(169): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#9 /var/www/insurance/vendor/symfony/http-kernel/HttpKernel.php(81): Symfony\Component\HttpKernel\HttpKernel->handleRaw()
#10 /var/www/insurance/web/core/lib/Drupal/Core/StackMiddleware/Session.php(58): Symfony\Component\HttpKernel\HttpKernel->handle()
#11 /var/www/insurance/web/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle()
#12 /var/www/insurance/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(106): Drupal\Core\StackMiddleware\KernelPreHandle->handle()
#13 /var/www/insurance/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(85): Drupal\page_cache\StackMiddleware\PageCache->pass()
#14 /var/www/insurance/web/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\page_cache\StackMiddleware\PageCache->handle()
#15 /var/www/insurance/web/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle()
#16 /var/www/insurance/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle()
#17 /var/www/insurance/web/core/lib/Drupal/Core/DrupalKernel.php(718): Stack\StackedHttpKernel->handle()
#18 /var/www/insurance/web/index.php(19): Drupal\Core\DrupalKernel->handle()
#19 {main}
I have attached two photos of the errors from the "recent log messages" page for a clearer understanding of the problem.
Active
1.3
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
No activities found.