This thread is resolved. Here is a description of the problem and solution.
Problem:
The client is experiencing an issue where the purchase confirmation email shows a duplicate string.
Solution:
We have released an update to address this issue. We recommend updating the WCML plugin to the latest version to fix the problem. If this solution doesn't resolve the issue or seems irrelevant to your situation, please open a new support ticket with us.
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
Related documentation:
This topic contains 12 replies, has 2 voices.
Last updated by Kor 1 year, 1 month ago.
Assisted by: Kor.
Author | Posts |
---|---|
January 12, 2024 at 5:41 pm | |
jakobM-4 |
Purchase confirmation email shows duplicate string |
January 12, 2024 at 6:51 pm | |
January 14, 2024 at 6:08 pm #15182596 | |
Kor Supporter
Languages: English (English ) Timezone: Asia/Singapore (GMT+08:00) |
Thanks for your patience. We apologize for the inconvenience, but in order to proceed with troubleshooting, we kindly request a site snapshot. Alternatively, with your permission, we can create a snapshot on our own. For this purpose, we typically recommend using the free plugin "Duplicator." If you are already familiar with how Duplicator works ( https://wordpress.org/plugins/duplicator/), please skip the following steps and simply send me the archive file you downloaded. To assist you further, please follow these instructions: Refer to the instructions provided by WPML on how to provide supporters a copy of your site: https://wpml.org/faq/provide-supporters-copy-site/ If the archive file exceeds 400MB in size, please utilize Duplicator's file filters to exclude the cache, wp-uploads directory, media, and archive files. Once you have the archive file, please share the link with us. You can use services such as Google Drive, Dropbox, or similar platforms as the snapshot file will likely be large. Please note that your next reply will be private, visible only to you and me. You can paste the link to the file there. Rest assured that once the issue is resolved, I will delete the local site. |
January 15, 2024 at 12:20 pm #15185015 | |
jakobM-4 |
Hi Kor Thank you for getting back. I created a duplicator image. I think it would be the easiest if you just logged ind and downloaded it yourself? Thanks 🙂 |
January 16, 2024 at 7:05 pm #15191867 | |
Kor Supporter
Languages: English (English ) Timezone: Asia/Singapore (GMT+08:00) |
Thank you for your response. I've obtained the duplicator copy, and I'll review it as soon as I can. I'll get back to you promptly with any updates or findings. |
January 17, 2024 at 9:10 pm #15197187 | |
Kor Supporter
Languages: English (English ) Timezone: Asia/Singapore (GMT+08:00) |
I appreciate your understanding. Regrettably, I require additional time to conduct a thorough investigation. Rest assured, I will get back to you promptly. |
January 18, 2024 at 9:43 am #15198969 | |
jakobM-4 |
Ok - take your time 🙂 |
January 22, 2024 at 7:25 pm #15213301 | |
Kor Supporter
Languages: English (English ) Timezone: Asia/Singapore (GMT+08:00) |
Thank you for your understanding. I'm sorry for the delay in getting back to you. I'd like to take this issue to our 2nd Tier Support for a more in-depth investigation. I attempted to replicate the problem on our sandbox site, but everything seems to be functioning correctly there. It appears that the problem is specific to your end. Do you have an additional staging site where I could disable some plugins to help our 2nd Tier Support examine the issue with fewer active plugins? |
January 23, 2024 at 11:19 am #15215934 | |
jakobM-4 |
Hi Kor You can just use dev.colorco.dk to test. It is just a sandbox for me. I'll leave it alone until I hear from you again. |
January 24, 2024 at 6:52 pm #15223389 | |
Kor Supporter
Languages: English (English ) Timezone: Asia/Singapore (GMT+08:00) |
Thanks for your patience. I've escalated this to our 2nd Tier Support and I will come back to you once I've feedback. |
January 25, 2024 at 7:14 am #15224611 | |
Kor Supporter
Languages: English (English ) Timezone: Asia/Singapore (GMT+08:00) |
Thanks for your patience. I've applied the workaround below to fix this and it will be included in the next WCML update. Edit the file \woocommerce-multilingual\classes\multi-currency\payment-gateways\class-wcml-currencies-payment-gateways.php on line number 38 replace add_filter( 'woocommerce_payment_gateways', Fns::tap( Fns::withoutRecursion( Fns::identity(), [ $this, 'init_gateways' ] ) ), PHP_INT_MAX ); with add_action( 'wp_loaded', [ $this, 'init_gateways' ] ); |
January 25, 2024 at 7:26 am #15224622 | |
Kor Supporter
Languages: English (English ) Timezone: Asia/Singapore (GMT+08:00) |
Thanks for your patience. We have released the update, kindly update the WCML plugin for the fix. |
January 26, 2024 at 12:02 pm #15229917 | |
jakobM-4 |
Hi Kor. I just took a complete copy of my live site and uploaded it on dev.colorco.dk, updated all the plugins, but the problem is still there. Could you take a look again? |
January 26, 2024 at 1:05 pm #15230286 | |
Kor Supporter
Languages: English (English ) Timezone: Asia/Singapore (GMT+08:00) |
Thanks for your reply. Sorry, the latest version is not available yet in commercial tab area. You can download WCML 5.3.3 here https://wpml.org/download/woocommerce-multilingual-multicurrency/?section=changelog and replace it with the current outdated version. |
January 26, 2024 at 1:39 pm #15230407 | |
jakobM-4 |
Great - looks everything is working now. Thank you for your help 🙂 |