Hi @husarm sorry for the delay, I was out of the office for a week, due to holidays. I am going to take a closer look at this and update you when there’s a fix available.
Thread Starter
husarm
(@husarm)
Hi, no problem! Thanks a lot.
Hi, @husarm I ran multiple tests with multiple languages and currencies and couldn’t find any problem. Could you let me know what translations did you added for paylike and how?
Also, could you send me a screenshot from the console so I can look to see if there are any errors there, please?
Thread Starter
husarm
(@husarm)
Hi @ionutcalara ,
I added WPML string translations where the base language was English and the Hungarian translation came up amutomatically when I started the translation so just saved it basically. Here is a screenshot aobout the string translations: https://pasteboard.co/JWXOXzh.png
Here is a screenshot about the Checkout page in Hungarian: https://pasteboard.co/JWXPxvk.png and here is the English version: https://pasteboard.co/JWXQa0A.png
Please feel free to test the above mentioned web site, it is a test website, so you can check it personally!
Thank you.
It’s not entirely clear what happens, but it looks like for English, the order gets automatically completed. Not sure why that happens. Also the text not showing up is strange. Could you please reach out via https://paylike.io/contact so I can get credentials. I am going to need to clone the website in order to debug it.
Let me know if that works for you.
Thank you,
Ionut.
Thread Starter
husarm
(@husarm)
Hi,
OK, that is fine for me. Thank you.
I am going to contact you via https://paylike.io/contact
Monika Huszar
Hi @husarm
In regards to the test data not showing up, that’s due to adding translations for the settings field. In this case, it’s the description. While the test code is added during the initialization, we append it to what comes from the settings, and the multilingual code overwrites it after. There’s no easy fix, but since this is just a development thing, it’s not going to interfere in the live payment part.
In regards to the order not going to the payment process, It took me a few hours to figure this out because the website is pretty slow locally. The issue is related to the custom order statuses that you are creating, which makes woocommerce consider the order doesn’t need payment.
If you look under woocommerce/includes/class-wc-order.php
at line 1498
, you will notice that the default order statuses for which payment is required are pending
and failed
;
However under woocommerce-order-status-manager/includes/class-wc-order-status-manager-order-statuses.php
at line 384
, in that function all the order statuses that come back do not include pending
or failed
This only happens for English. For Hungarian the statuses are different, and it works.
I am going to close this ticket, as this is not related to our payment gateway, but feel free to reopen.`