Klarna Checkout in Verbindung mit anderen Payment Plugins - HTTP 500

 

Hallo zusammen,

wir haben das Problem, dass wir den KC einfach nicht gescheit zum Laufen kriegen. Status Quo:

  • alle Payment Plugins deaktiviert, außer KC (Klarna Checkout)
  • zusätzlich deaktiviert bei Zahlungsarten
  • KC läuft mit live Daten

 

Ich kann jetzt als Bestandskunde nichts bestellen. Erhalte den folgenden Fehler:

{ "http_status_code" : 401, "http_status_message" : "Unauthorized", "internal_message" : "Unauthorized" } in engine/Shopware/Plugins/Community/Frontend/SwagPaymentKlarna/Components/KlarnaCheckout/Checkout/BasicConnector.php on line 211
Stack trace:


#0 engine/Shopware/Plugins/Community/Frontend/SwagPaymentKlarna/Components/KlarnaCheckout/Checkout/BasicConnector.php(232): Klarna_Checkout_BasicConnector->verifyResponse(Object(Klarna_Checkout_HTTP_Response))
#1 engine/Shopware/Plugins/Community/Frontend/SwagPaymentKlarna/Components/KlarnaCheckout/Checkout/BasicConnector.php(318): Klarna_Checkout_BasicConnector->handleResponse(Object(Klarna_Checkout_HTTP_Response), Object(Klarna_Checkout_Order), Array)
#2 engine/Shopware/Plugins/Community/Frontend/SwagPaymentKlarna/Components/KlarnaCheckout/Checkout/BasicConnector.php(110): Klarna_Checkout_BasicConnector->handle('POST', Object(Klarna_Checkout_Order), Array, Array)
#3 engine/Shopware/Plugins/Community/Frontend/SwagPaymentKlarna/Components/KlarnaCheckout/Checkout/Order.php(164): Klarna_Checkout_BasicConnector->apply('POST', Object(Klarna_Checkout_Order), Array)
#4 engine/Shopware/Plugins/Community/Frontend/SwagPaymentKlarna/Controllers/Frontend/PaymentKlarna.php(282): Klarna_Checkout_Order->create(Array)
#5 engine/Library/Enlight/Controller/Action.php(159): Shopware_Controllers_Frontend_PaymentKlarna->showIframeAction()
#6 engine/Library/Enlight/Controller/Dispatcher/Default.php(530): Enlight_Controller_Action->dispatch('showIframeActio...')
#7 engine/Library/Enlight/Controller/Front.php(223): Enlight_Controller_Dispatcher_Default->dispatch(Object(Enlight_Controller_Request_RequestHttp), Object(Enlight_Controller_Response_ResponseHttp))
#8 engine/Shopware/Kernel.php(191): Enlight_Controller_Front->dispatch()
#9 vendor/symfony/http-kernel/HttpCache/HttpCache.php(484): Shopware\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#10 engine/Shopware/Components/HttpCache/AppCache.php(268): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL)
#11 vendor/symfony/http-kernel/HttpCache/HttpCache.php(441): Shopware\Components\HttpCache\AppCache->forward(Object(Symfony\Component\HttpFoundation\Request), true)
#12 vendor/symfony/http-kernel/HttpCache/HttpCache.php(337): Symfony\Component\HttpKernel\HttpCache\HttpCache->fetch(Object(Symfony\Component\HttpFoundation\Request), true)
#13 engine/Shopware/Components/HttpCache/AppCache.php(189): Symfony\Component\HttpKernel\HttpCache\HttpCache->lookup(Object(Symfony\Component\HttpFoundation\Request), true)
#14 vendor/symfony/http-kernel/HttpCache/HttpCache.php(203): Shopware\Components\HttpCache\AppCache->lookup(Object(Symfony\Component\HttpFoundation\Request), true)
#15 engine/Shopware/Components/HttpCache/AppCache.php(116): Symfony\Component\HttpKernel\HttpCache\HttpCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#16 shopware.php(118): Shopware\Components\HttpCache\AppCache->handle(Object(Symfony\Component\HttpFoundation\Request))
#17 {main}

Das kann aber auch eine Cache-Sache sein, denn als ich es das erste mal versuchte, gings. Bzw. es wäre gegangen, hätte ich nicht „zurück zum Shop“ geklickt und den Warenkorb bearbeitet.

 

Vorher war das Problem, dass ich einen http500 erhalten habe, sobald ich (mit aktivierten anderen Payment Plugins wie Amazon Pay) den KC verlassen habe, um mich bspw. einzuloggen oder die Zahlart zu ändern. Die Settings in Klarna (“im KC einbinden” usw.) habe ich mit deren Integration Team (…) so gestellt, wie sie angeblich sein müssen. Da hat aber auch jegliche Konstallation nichts gebracht.

 

Das Error Log zu diesem HTTP500 sah so aus:

[09-May-2018 16:28:13 Europe/Berlin] PHP Fatal error: Uncaught SmartyCompilerException: Syntax Error in template "/themes/Frontend/Bare/frontend/index/index.tpl" on line 7 "<html class="no-js" lang="{s name='IndexXmlLang'}{/s}" itemscope="itemscope" itemtype="http://schema.org/WebPage">" unknown tag "s" in /engine/Library/Smarty/sysplugins/smarty_internal_templatecompilerbase.php:657
Stack trace:
#0 /engine/Library/Smarty/sysplugins/smarty_internal_templatecompilerbase.php(443): Smarty_Internal_TemplateCompilerBase->trigger_template_error('unknown tag "s"', 7)
#1 /engine/Library/Smarty/sysplugins/smarty_internal_templateparser.php(2388): Smarty_Internal_TemplateCompilerBase->compileTag('s', Array)
#2 /engine/Library/Smarty/sysplugins/smarty_internal_templateparser.p in /engine/Library/Smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 657
[09-May-2018 16:28:16 Europe/Berlin] PHP Fatal error: Uncaught SmartyCompilerException: Syntax Error in template "/themes/Frontend/Bare/frontend/index/index.tpl" on line 7 "<html class="no-js" lang="{s name='IndexXmlLang'}{/s}" itemscope="itemscope" itemtype="http://schema.org/WebPage">" unknown tag "s" in /engine/Library/Smarty/sysplugins/smarty_internal_templatecompilerbase.php:657
Stack trace:
#0 /engine/Library/Smarty/sysplugins/smarty_internal_templatecompilerbase.php(443): Smarty_Internal_TemplateCompilerBase->trigger_template_error('unknown tag "s"', 7)
#1 /engine/Library/Smarty/sysplugins/smarty_internal_templateparser.php(2388): Smarty_Internal_TemplateCompilerBase->compileTag('s', Array)
#2 /engine/Library/Smarty/sysplugins/smarty_internal_templateparser.p in /engine/Library/Smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 657
[09-May-2018 16:28:33 Europe/Berlin] PHP Fatal error: Uncaught SmartyCompilerException: Syntax Error in template "/themes/Frontend/Bare/frontend/index/index.tpl" on line 7 "<html class="no-js" lang="{s name='IndexXmlLang'}{/s}" itemscope="itemscope" itemtype="http://schema.org/WebPage">" unknown tag "s" in /engine/Library/Smarty/sysplugins/smarty_internal_templatecompilerbase.php:657
Stack trace:
#0 /engine/Library/Smarty/sysplugins/smarty_internal_templatecompilerbase.php(443): Smarty_Internal_TemplateCompilerBase->trigger_template_error('unknown tag "s"', 7)
#1 /engine/Library/Smarty/sysplugins/smarty_internal_templateparser.php(2388): Smarty_Internal_TemplateCompilerBase->compileTag('s', Array)
#2 /engine/Library/Smarty/sysplugins/smarty_internal_templateparser.p in /engine/Library/Smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 657

 

Jemand eine Idee? Freu mich auf eine Antwort. Der Schuh drückt…

Hallo Echo?

Halloo Ottooo… sorry, konnte ich mir nicht verkneifen.  Sticking-out-tongue

Schon mal mit dem standard Theme getestet?

Ja, same.