On Magento 2.4.0 Klarna is not showing on checkout page. Error log is Bad value: order_lines[0].total_tax_amount. When I update VAT 25 to 0 it works fine and shows on frontend. Here is request JSON body { "purchase_country": "SE", "purchase_currency": "SEK", "locale": "sv-SE", "order_amount": 93000, "order_tax_amount": 18600, "order_lines": [ { "type": […]
Daily Archives: June 18, 2023
I created a module in Magento 2 to connect to a third-party API (which I created). The problem is that it’s not connecting and giving me a 404 error in the view path. local-project.test/getprovider/index/offer I have created a repository on GitHub with this module to see if you can take […]
I have created the block grid in admin product edit page section, I have added a text field in that grid column using below addcolumn method. $this->addColumn( 'position', [ 'header' => __('Position'), 'type' => 'number', 'index' => 'position', 'editable' => true, 'filter' => false, 'sortable' => false, ] ); Now […]
Im having some issue when comming back (using back button) from a payment gateway, we do a quote restore: $this->checkoutSession->restoreQuote(); But this works good having the same cart, but we would like to actually not restore the quote insteade creating a new one coping this one. As if we restore […]
Since a few weeks i’m getting more and more spam on the admin dashboard from adobe, auto-installed and everything. It started with polls on the right side taking all the space and impossible to delete. Now it’s entire help center buttons on the left. I don’t know how this is […]
I have a zfs pool on Debian with an encrypted dataset that contains other datasets inhering encryption. Basically I have this structure pool passphrase encrypted dataset dataset1 inherits encryption dataset2 inherits encryption It all behaves exactly as expected except that dataset2 displays its files after zpool import (without loading keys) […]
The extension, Proctorio has corrupted on my Chromebook running Google ChromeOS Version 114.0.5735.119 (Official Build) (64-bit), and I do not know how to repair it. The Chromebook is managed by my school, so I can’t do any hacky things.
So some time ago I bought a very old Mac which had OS X 7 (I believe, might be wrong) running, and instead, I chose to download Linux Mint on that particular Mac. Recently, I need Windows to be downloaded on the Mac (I don’t mind deleting the data present […]
My Canon MF744C laser printer supports different paper types according to paper weight (Plain 1, Plain 2, Plain 3, …). The common 80g/sqm paper that I am using is supposed to be configured as “Plain 2”. The problem is that Win 11 seems to be requesting “Plain 1” paper when […]