WPIntell

Source evidence

Problem with klarna

PiWeb Disable payment method / Partial payment for WooCommerce · support · 2025-01-08T13:38:00+00:00

complaintsentiment
highseverity
0.96relevance
4replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

7 / 35 rows with source links

20.0% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

28 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
klimbim unresolved
Hi, this plugin causes a loading loop, if people want to check out with Klarna. This occurs with the newest version of WooCommerce, Klarna and your plugin. I had this problem a few weeks ago and rolled back the updates, but had to update now and investigate the problem. add_filter('woocommerce_available_payment_gateways', function($gateways){ if(function_exists('WC') && isset(WC()->session) && is_object(WC()->session)){ WC()->session->set( 'stop_reload_do_ajax_again', null ); } return $gateways; }, PHP_INT_MAX); Add the above code in your theme functions.php file and then check I, thanks a lot for your quick help. The code seems to work. But will a solution for that be implemented into the plugin, or is the code a long term solution? Sorry there is no issue in the plugin so that code wont be part of the plugin, the issue is specific to the payment method used by you so you will have to use that code snippet Hi, I had the same thing with Klarna Payments and I can confirm both the bug and the solution. I had the same infinite loop bug with Klarna but the above snippet solved the problem. I hope the Klarna guys solve this soon. Regards, Chris

Comments

4 shown
PI Web Solution 2025-01-09T00:56:00+00:00

add_filter('woocommerce_available_payment_gateways', function($gateways){ if(function_exists('WC') && isset(WC()->session) && is_object(WC()->session)){ WC()->session->set( 'stop_reload_do_ajax_again', null ); } return $gateways; }, PHP_INT_MAX); Add the above code in your theme functions.php file and then check

klimbim 2025-01-15T12:23:00+00:00

I, thanks a lot for your quick help. The code seems to work. But will a solution for that be implemented into the plugin, or is the code a long term solution?

PI Web Solution 2025-01-15T12:24:00+00:00

Sorry there is no issue in the plugin so that code wont be part of the plugin, the issue is specific to the payment method used by you so you will have to use that code snippet

Chris.V 2025-01-29T12:37:00+00:00

Hi, I had the same thing with Klarna Payments and I can confirm both the bug and the solution. I had the same infinite loop bug with Klarna but the above snippet solved the problem. I hope the Klarna guys solve this soon. Regards, Chris