This thread is resolved. Here is a description of the problem and solution.
Problem:
If you're experiencing double payments on subscription renewal orders with WooCommerce Multilingual & Multicurrency, where only one order is made in WooCommerce but two payments for the same order are processed in Stripe (and no issues with regular orders), we have identified the cause.
Solution:
We have published an Errata with details about this issue and a workaround. We recommend you visit the following link to view the workaround: WPML Errata Page. Please try the workaround provided and check if it resolves the issue. If you need further assistance, don't hesitate to reach out for help.
If this solution doesn't look relevant to your situation, please open a new support ticket at WPML Support Forum.
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.
Tagged: Compatibility, Known issue, WCML
Related documentation:
This topic contains 24 replies, has 4 voices.
Last updated by Prosenjit Barman 1 year, 1 month ago.
Assisted by: Prosenjit Barman.
Author | Posts |
---|---|
December 11, 2023 at 7:55 pm #15040477 | |
andreasA-46 |
The WooCommerce Multilingual & Multicurrency plugin is causing double payments on subscription renewal orders. Only one order is made in WooCommerce but two payments for the same order are made in Stripe. No problems with regular orders. I am using WooCommerce Subscriptions with Payment Plugins for Stripe WooCommerce |
December 14, 2023 at 7:39 am #15060817 | |
Prosenjit Barman Supporter
Languages: English (English ) Timezone: Asia/Dhaka (GMT+06:00) |
Hi there, I understand the issue you're having. To better understand the issue, it would be incredibly helpful if you could replicate the issue in our sandbox environment. This will allow us to closely observe the problem and provide a more accurate and efficient resolution. Please find the auto-login link to our sandbox environment below. - hidden link The WPML Plugin and its addons are already set up in the Sandbox environment. Additionally, WooCommerce and the Stripe payment gateway have been configured with test keys there. Please install the WooCommerce Subscription plugin and try to replicate the issue in our sandbox. If you manage to replicate the issue, kindly inform me and provide the steps taken to recreate it. I will check and guide you accordingly. Looking forward to your response and appreciate your kind cooperation in this matter. Best regards, |
December 14, 2023 at 9:15 am #15061673 | |
andreasA-46 |
Hi Prosenjit, That's a little difficult as Woo Subscriptions is a paid plugin and it needs a live connection to Stripe etc to replicate the issue. But I have set up a staging site here: hidden link No other plugins other than Woo Subscriptions and WPML are active. You can log in with user: "support" & There is one active subscription "Test Test" you can test with I have attached screenshots of a renewal: 1 order in WooCommerce but 2 payments in Strip |
December 14, 2023 at 9:17 am #15061737 | |
andreasA-46 |
Please make the topic private or send me an email so I can give you the password |
December 15, 2023 at 8:26 am #15070107 | |
andreasA-46 |
Have you had time to look at this? It's a bit urgent as it double charges all our subscribers on renewal orders. |
December 16, 2023 at 4:02 am #15076533 | |
Prosenjit Barman Supporter
Languages: English (English ) Timezone: Asia/Dhaka (GMT+06:00) |
Hi There, I can understand. To investigate the issue, I set up the latest version of the WooCommerce Subscription plugin on the staging site and generated a pending renewal order for the user who have the Subscription. Once the payment was processed, I checked on the Stripe dashboard and found that the card was charged only once. I made a video during the inspection that you can see from here: hidden link If you want, you can also test on the Sandbox site specified in my first response. While checking the WPML Debug info, I noticed that an older version of WooCommerce Subscription(3.1.6) plugin is installed in your site. Could you please update the WooCommerce Subscription plugin to the latest version(5.7.0) and check again? Please let me know the update. I will be happy to help if you need further assistance in this matter. Best regards, |
December 18, 2023 at 11:12 am #15083067 | |
andreasA-46 |
I had to buy WooCommerce Subscription ver. 5.7 to update. Unfortunately, that didn't solve the problem. The double payment happens with auto-renewal. You are doing a manual renewal. Then it doesn't happen (I just tested it as well). Please give this issue some priority. |
December 19, 2023 at 6:05 am #15088419 | |
Prosenjit Barman Supporter
Languages: English (English ) Timezone: Asia/Dhaka (GMT+06:00) |
Hi There, Considering that the problem seems to occur only with auto-renewals, I set up a new package with a subscription scheduled to renew in the next hour. You can view the details in this screenshot: hidden link I monitored the situation until the subscription was renewed. Upon renewal, I reviewed the Stripe Dashboard and confirmed that the auto-renewal charge was processed only once. For a clearer insight, please refer to this screenshot: hidden link. During my investigation(auto and manual renewal), I didn't notice any double charges in the Stripe dashboard. Since Stripe and WooCommerce Subscription are still configured in the Sandbox site, would you please try to replicate the issue in the Sandbox? FYI, I used the WooCommerce default Stripe gateway. Since you're using a different plugin to set up stripe, you can test in the sandbox by installing that plugin as well. You can get the test keys by going to "WooCommerce > Settings > Payments> Stripe > Settings > Edit Account keys". When the subscription gets renewed, please let me know. I will check my Stripe dashboard and let you know. Please let me know if you're able to recreate the issue. I will be happy to assist you if you need further assistance in this matter. Best regards, |
December 19, 2023 at 7:57 am #15089305 | |
andreasA-46 |
Ok. What is the login for Stripe Dashboard? |
December 19, 2023 at 1:40 pm #15093421 | |
andreasA-46 |
I can't get the payment plugin to work on the checkout page. But I tried to make a couple of test payments. Can you please check how it looks on your end? |
December 19, 2023 at 1:43 pm #15093461 | |
Prosenjit Barman Supporter
Languages: English (English ) Timezone: Asia/Dhaka (GMT+06:00) |
Hi There, Sorry to inform you that it is not possible to share access to Stripe Dashboard. However, I can certainly share information about any charges that appear on Stripe. Here is the latest payment information(hidden link) that appears in Stripe. I also don't see any double charges there. Let me know the update. I will be happy to help. Best regards, |
December 19, 2023 at 1:45 pm #15093471 | |
andreasA-46 |
Can you just check the latest order #125? It's not easy to test this way. |
December 19, 2023 at 1:52 pm #15093489 | |
Prosenjit Barman Supporter
Languages: English (English ) Timezone: Asia/Dhaka (GMT+06:00) |
Hi, I have checked the recent order(#125) and can see that it appears twice in Stripe. Could you provide a detailed description of the steps you followed that led to the issue? A video or screenshot describing the steps will be very helpful. This information is essential for a thorough investigation and will assist in escalating the matter to our 2nd tier team if required. I appreciate your kind cooperation in this matter. Looking forward to your response. Best regards, |
December 19, 2023 at 2:12 pm #15093713 | |
andreasA-46 |
Just renew the Test Subscription with the other Stripe payment plugin. It won't happen if you deactivate WPML. |
December 20, 2023 at 7:37 am #15098401 | |
Prosenjit Barman Supporter
Languages: English (English ) Timezone: Asia/Dhaka (GMT+06:00) |
Hi There, Please be informed that the plugin is not listed in the Compatible plugin directory of WPML. Therefore, it could be a compatibility issue as well. However, when I checked by deactivating the WPML plugin, I still can see that charges were made twice. Please check this video for a better understanding. hidden link Since the issue persists even without the WPML plugin, there must be something wrong with that plugin that causing the issue. It would be better if you could reach out to the Plugin author or support and discuss this matter with them. Rest assured that WPML is not the source of this issue. If you want, you might consider using WooCommerce's default Stripe plugin, which is fully compatible with WPML and WooCommerce Multilingual. This plugin has not shown any issues regarding charges, ensuring smooth and reliable functionality. Please let me know if you need further assistance in this matter. I will be happy to help. Best regards, |