Post by OptiRick » Fri Dec 07, 2018 5:54 am

Klarna enabled in Extensions and Payments but it doesn't show during checkout.

yourpage.com/index.php?route=extension/payment/klarna_checkout results in following;
Fatal error: Class 'Klarna\Rest\Transport\ConnectorInterface' not found in /home/onestopg/public_html/catalog/model/extension/payment/klarna_checkout.php on line 79
That line is $base_url = KCConnectorInterface::EU_BASE_URL;


Any help would be appreciated.

Edit: I've been Googling and found sometghing on github, https://github.com/opencart/opencart/bl ... eckout.php should I replace the klarna_checkout.php file with this?

Edit2: If I do the above I get this,
Notice: Undefined property: Proxy::getMethod in /home/onestopg/public_html/catalog/controller/checkout/payment_method.php on line 53

Newbie

Posts

Joined
Mon Sep 11, 2017 12:47 am


Post by OptiRick » Wed Dec 12, 2018 5:26 am

(Using 2.3.0.2)
And during checkout, payment options shows,
Undefined property: Proxy::getMethod in /home/onestopg/public_html/catalog/controller/checkout/payment_method.php on line 53

Any help would be appreciated, what is causing the problem? Where should I be looking for a solution? What is most likely missing/incorrect?

What does this mean, "Move one folder outside of the web root and run:
composer require "klarna/kco_rest"?

If someone wants to quote me for setting this up feel free.

Newbie

Posts

Joined
Mon Sep 11, 2017 12:47 am

Who is online

Users browsing this forum: No registered users and 18 guests