Hello @klarna ,
thanks for the update.
A cronjob could probably help us, yes.
But I don’t understand why every store owner who wants to use Klarna via your plugin has to program it manually.
An out of the box solution should be much more efficient and valuable for your customers.
For example, you could add a function in the plugin settings: Automatically set orders to “failed” after x hours. Anyone who activates this option already knows why they are doing so, and that’s the end of the matter.
You could also create an entry in the order notes that informs the shop operator that the order has automatically been set to failed because Klarna has not given the green light for x hours.
That’s the end of the matter, without adding manual effort for every store operator.
@louisekrokedil :
To be honest, I was confused about the link you showed (https://docs.krokedil.com/krokedil-general-support-info/pending-payment-orders-and-held-stock/).
I don’t like what the “Changed pending payment orders” section says about creating multiple orders for just one customer.
Earlier in this thread I described how PayPal, for example, simply sends the user back to the checkout if you cancel in the PayPal popup and there are not multiple orders in the system for this one customer.
Especially if you want to automate processes, in this case e.g. the payment reminder in case of problems, it worries me that a customer with one checkout process may have two orders in the WooComerce system.
The “second order” may go through as paid, while the “first”, pending order is then set to failed by the cronjob and the customer receives a message that the payment has failed and they should pay again.
I can hardly tell my customer, for whom I’m writing this thread, about this behavior without him thinking I’m joking.
It’s not meant to be malicious. It’s more like honest feedback so that we can initiate improvements together.
I also have customers who wouldn’t care about the behavior because they only have a few orders and process them manually.
However, anyone who relies on reliable automation is probably not satisfied with the current situation. It seems immature compared to other payment solutions for WooCommerce (PayPal, Stripe).