rememberfriends
Forum Replies Created
-
Hi @femiyb Femi — thanks for jumping on this.
We installed the Status Check helper you linked and tested. Result: new Klarna orders now leave “Pending payment” as soon as they’re authorized. On our side we treat an authorized Klarna payment as paid, so we also added a small fallback hook that promotes authorized Klarna orders to Processing (and marks them paid) even if the buyer doesn’t return to the Thank You page. Capture still happens when we set the order to Completed (on shipment).
So far this resolves it for us. For anyone who needs the same behavior, this is the snippet we used:
// Klarna via Mollie: when AUTHORIZED, treat as paid + move to Processing.
function ms_klarna_authorized_processing_and_paid( $order_id, $payment_id ) {
$order = wc_get_order( $order_id );
if ( ! $order ) return;
// Only Klarna through Mollie
$klarna_gateways = [
'mollie_wc_gateway_klarnapaylater',
'mollie_wc_gateway_klarnapaynow',
'mollie_wc_gateway_klarnasliceit',
];
if ( ! in_array( $order->get_payment_method(), $klarna_gateways, true ) ) return;
// Promote status
if ( $order->has_status( [ 'pending', 'on-hold' ] ) ) {
$order->update_status(
'processing',
'Klarna payment authorized via Mollie (treated as paid; capture on Completed).'
);
}
// Mark WooCommerce order as "paid" for integrations
if ( method_exists( $order, 'is_paid' ) && ! $order->is_paid() ) {
$order->set_date_paid( time() );
$order->save();
}
}
// Cover Mollie v7/v8 hooks
add_action( 'mollie_payments_order_authorized', 'ms_klarna_authorized_processing_and_paid', 10, 2 );
add_action( 'mollie_payments_payment_authorized', 'ms_klarna_authorized_processing_and_paid', 10, 2 );Question: do you plan to restore updating the WooCommerce status directly on the
payment.authorizedwebhook in a coming release? That would let us remove the workaround and rely only on the plugin again .Thanks again!
Hi, quick update after contacting Mollie support:
They confirmed that the payments are indeed being authorized, but the orders in WooCommerce are not updating. Support told me:
“I can see this payment as authorised, so you should capture the payment for the status to change.”
The problem is that Klarna’s normal flow should be:
- Authorized payment → WooCommerce order moves to Processing
- Capture happens later when order is marked as Completed (shipped)
Right now, everything stays stuck in Pending payment after authorization, which breaks stock management and automations.
So the issue is that WooCommerce is not reacting to the authorized status anymore. It looks like a regression since the 8.0.x update.
Is there any confirmation from Mollie devs whether this is a bug in the latest version and if a fix is coming? Or do we need to add a temporary workaround (e.g. hook into
mollie_payments_order_authorizedto update status)?Thanks!
Thank you!!!!
Forum: Plugins
In reply to: [NextMove Lite - Thank You Page for WooCommerce] notices php 7.4.0I have the same problem =/
Getting alot of this 72mb for a couple of hours had to turn of your pluginI would try to do it with the [trp_language language=”en_US”] English content only [/trp_language]
It looks like it´s there last update that have fucked all our sites up
Same for me i don´t have ” Discourage search engines from indexing this site” enabled.