robertrosanke
Forum Replies Created
-
Thanks for the clarification.
I believe that several inaccuracies lead to the problem.
Firstly, Klarna seems to be storing orders in the WooCommerce system that a customer (maybe) does not want to make (with Klarna).
Secondly, Klarna does not communicate failed orders via the order status.
Now one after the other.
Problem 1: Orders are saved when a customer cancels the process in the Klarna popup
“As soon as the customer clicks on Pay order button and Klarna modal opens a Pending Payment order is created in WooCommerce and if the customer do not pay the order the status remains as Pending Payment on the WooCommerce order.”
As far as I observed it, the official PayPal plugin, for example, only creates an order once the customer has completed the payment process. If I want to buy with PayPal and cancel the process in the PayPal popup, the order is not even created and the user ends up back in the WooCommerce checkout.
This is logical for me and expected behavior.
Regardless of whether the customer wants to cancel the order completely or spontaneously decide on a different payment method: the checkout is the right place for the customer to help themselves.
In the checkout, they can simply close the tab and end the order process. However, they can also simply change the payment method and continue.
Klarna should proceed in the same way instead of creating an order that is “pending” and leaving the customer and the shop operator in the lurch.
Problem 2: Failed payments are not communicated via the order status
“We can not set the order status to failed because we do not know why the order was not paid for.”
In case of doubt, it doesn’t matter.
If it didn’t work, it didn’t work.
And that should be communicated via the order status, I think.“We can not set the order status to failed because we do not know why the order was not paid for. If the customer just did not have enough money and wants to pay for the order later, if the customer choose not to pay for the order or if an issue appeared in the checkout.”
The chosen Klarna method has nothing to do with the order status in WooCommerce.
If a customer agrees to “pay later” with Klarna, the order will still be set to “in process” in order to be shipped directly.
The actual payment from the customer to Klarna has nothing to do with the WooCommerce status.This applies to all well known payment services that offer customers their own options for more convenient, later payments, or am I wrong?
So it would be good – if an order fails – to also set the status to failed.
Then we get the error and can take action.At the moment, we should apparently look at every order with “Payment pending” manually and then act manually, depending on what the order notes say?
Who is supposed to manage this in a store with many orders?We have an email template with the order payment link.
We would like to send this automatically if an order fails.
No matter which payment method was used.Currently it works with all payment methods except Klarna.
How should we act automatically if Klarna does not inform us via the status change that the order has failed?
As I said, other payment methods set the status to “failed” in such a case and the issue is resolved.
We expect the same from Klarna.What solution do you suggest?
- This reply was modified 1 year, 7 months ago by robertrosanke.
I’m not sure what the billing address/country has to do with the users’ language.
But good.
Apparently we can’t change it.
If it cannot be changed, then the ticket can be closed.Thanks for the support.
Thanks for the support. Excellent.
Thank you.
It is not absolutely necessary to send the data via the data layer.
Depending on the WPML setting, you can read the language from the URL. Or from a cookie called “wp-wpml_current_language”.
To do this, you can create a variable in GTM that reads the data.
For example, custom JavaScript can be used as a variable configuration.
For example, we have the following URL structure
- /en/… => EN
- /fr/… => FR
- /… => DE (original language in WordPress, does not have its own folder on our wpml setup.)
The following JS is a GTM variable and checks if the URL path starts with one of the active WPML language codes. If yes, then it will be returned. On the other hand, the original language DE is returned.
function() { var path = window.location.pathname; var allowed = ['de','en','fr']; var parts = path.split('/'); var firstFolder = parts[1]; if(!allowed.includes(firstFolder)) return 'de'; return firstFolder; }Maybe this will help. You may have to search around on Google to find out how to write the appropriate JS for your GTM variable and how to debug its value with the GTM preview.
Important: The problem here only exists if events are processed on the server side tagging container. If you don’t use SST, you shouldn’t have any problems in this regard.
Hello.
Do you have an update on this topic?Klarna has now sent us a form. Apparently you have to fill this out once for each target country in order to activate Klarna Payments for it. You can then activate it in the shop. A bit complicated. Well. Topic can be closed.
We have activated the function and are excited to see how it works.
Thanks for the detailed explanation. That helped me a lot. (:Thanks for the info.
We have set up B2C first, as you recommended.
Maybe a “both” selection will be added soon. That would be ideal.Thanks for the help.
Hello. Thanks for the information.
That helped a bit.
It is very important for us that WooCommerce always contains the correct and complete order data. WooCommerce is in contact with other systems via webhooks – which must receive the correct data for further processing.
To understand it exactly:
- If I deactivate “Force capture full order” then I have to edit all my changes in WooCommerce.
- If I activate the function, I can also adjust the order in the Klarna dashboard and the changes are transferred to WooCommerce.
Question #1:
We should activate “Force capture full order” so that there is always bidirectional sync between Klarna and WooCommerce.
Then we are on the safe side if a shop employee happens to work directly in Klarna instead of WooCommerce.
Is that correct? Did I interpret that correctly?Question #2:
On the other hand: I can’t imagine that people don’t want a complete sync.
What is the point of leaving the function switched off? Are there situations in which this makes sense?Hello. Thanks for the information.
This means: I can use the API access that has been generated for all delivery countries that I have stored in the shop.
OK.I will try. Maybe it will work that way.
Thanks.
Thanks for the explanation. Topic can be closed.
Forum: Plugins
In reply to: [Klarna for WooCommerce] Klarna Order Management – necessary?Thanks for the explanation. Topic can be closed.
Forum: Plugins
In reply to: [Redirection] How to allow redirects for a specific user ID?Thanks for the fast respond.
I’ve already seen the page.
Unfortunately, it does not contain a code example with which I can easily allow all functions for a specific suer.(Did I miss something?)