You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm upgrading our Magento installation to 2.4.7. We are using Klarna checkout with Vipps. Version of vipps/module-payment is 2.4.50 and version of klarna/m2-klarna is 2.2.3. When trying to place a Vipps order I get an error Error: Typed property Klarna\Kco\Model\Api\Kasper::$klarnaOrder must not be accessed before initialization in /var/www/html/vendor/klarna/module-kco/Model/Api/Kasper.php:228 on request /vipps/payment/klarna_initRegular. Can you check why this errors is thrown?
I investigated this issue a bit myself and adding this to di.xml fixes the error:
Hi, I'm upgrading our Magento installation to 2.4.7. We are using Klarna checkout with Vipps. Version of
vipps/module-payment
is2.4.50
and version ofklarna/m2-klarna
is2.2.3
. When trying to place a Vipps order I get an errorError: Typed property Klarna\Kco\Model\Api\Kasper::$klarnaOrder must not be accessed before initialization in /var/www/html/vendor/klarna/module-kco/Model/Api/Kasper.php:228
on request/vipps/payment/klarna_initRegular
. Can you check why this errors is thrown?I investigated this issue a bit myself and adding this to
di.xml
fixes the error:Looks like Vipps acts as if
Api Version
is set toMobilePay
even though it isVipps
.The text was updated successfully, but these errors were encountered: