anyakrokedil
Forum Replies Created
-
Hello Windmeile!
We conducted additional tests using WP CLI in the terminal on a site with the latest version of the plugin, but were unable to reproduce the same issue you’re experiencing.It might be worth considering a complete reinstallation of the plugin in case something went awry during an update.
Additionally, could you try testing this in a different environment than your current server. For example, setting up a fresh installation of Klarna Payments in a completely new setup to see if the same issue arises. There’s always a chance that something specific to your server configuration, or possibly a plugin conflict, could be contributing to the problem.If that doesn’t resolve the issue, unfortunately, it’s difficult to pinpoint the exact cause.
Forum: Plugins
In reply to: [Klarna for WooCommerce] errorsHello Mcdeth,
Thank you for bringing this to our attention!The error you’re experiencing is a known issue and we’re actively working on a solution, which will likely be included in the next plugin release.
Hi,
The error you encountered references a namespace that has not been used since version 3.6.2 of the Klarna Payments plugin. The namespace used in the latest version can be found here.We’re having difficulty troubleshooting this issue, as we’re unable to replicate the error in version 3.8.3 of the plugin. Please ensure there are no old copies of the plugin left in your environment, as this might be causing the issue.
Hello Windmeile,
Thank you for reaching out.
We were able to replicate the error you’re experiencing only in older versions of the Klarna Payments plugin. Please make sure that you are using the latest version of Klarna Payments. If the plugin code is downloaded or cloned from a source like GitHub, remember to run the
composer installcommand in the plugin directory.If this does not resolve the issue, please let us know, and we’ll continue troubleshooting!
Hi Marcel,
You’re using a version of the plugin that’s about 1.5 years old, and there have been significant changes to the plugin since then. I recommend updating to the latest version to see if this resolves the issues you’re experiencing.
Before updating, please be sure to create a backup of your site as the new version includes many changes. After the update, let me know if the issue persists, and I’ll be happy to assist you further if needed.
Hello Marcel,
Thank you for reaching out and providing the log regarding the recurring failed actions.
The error you’re seeing is not one we can identify as a known issue. Which version of the Klarna Payments for WooCommerce plugin are you using, when the error occurs?Hi 1ata,
Below is a snippet that allows you to change the order of the ‘Pay with Klarna’ Express Checkout button. Simply change the number at the end of the added action, to move the button upwards/downwards as needed.
add_action('wp_loaded', 'custom_kec_position');
function custom_kec_position() {
remove_action('woocommerce_proceed_to_checkout', 'wc_get_pay_buttons');
// Adjust the priority number as needed
add_action('woocommerce_proceed_to_checkout', 'wc_get_pay_buttons', 25);
}The outlined theme for the ‘Pay with Klarna’ Express Checkout button will be available in our next update of the plugin.