PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]
Botoscope is currently in early access

Support Forum

You need to log-in to create request (topic) to the support

WooSubscriptions Order Renewal Failed Issue

The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page please
If you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.

Hello,

We've noticed a very strange issue - renewals with WooSubscriptions and different currencies have been working great except for if a renewal order fails. Then if the store manager or the user goes to try and manually renew, the currency conversion from EUR to USD is run again against the already converted value from the original subscription.

Example:

- User in USA purchased subscription @ 97 EUR/mo. which was converted to $113.99 at checkout. All good so far.
- Their 2nd month renewal order failed due to credit card issues and when they went to manually pay the store said the payment due now is $135 (taking the already converted value of $113.99 and multiplying again by 1.19 USD/EUR)

Now, we have other subscriptions where users have purchased a subscription in the USA and renewals have executed without issue. It only seems to be an issue if a renewal fails.

I tried numerous things including purchasing the premium version of the plugin, running the existing WooSubscriptions code fix you provide on the website through AI to try various potential solutions (as well upgrade the code in general), and manually updating DB values for this order all to no avail.

Are there any other things you can suggest trying or do you have any suggestions or potential solutions?

At this point the only solutions I can think of are to either offer the user a credit once they run the renewal at the higher price, or manually create a new subscription but these are only temporary solutions as this will inevitably happen again. If there's nothing else that can be done we may have to move on to another currency conversion plugin... Hopefully not though!

Thanks for your help and consideration!

Hello

Here's what I'd suggest is: https://currency-switcher.com/woocs-labs/

To make the most of the session, it would help if you could:

  1. Clone your site to a staging/dev environment
  2. Make sure the clone has at least one subscription renewal order that replicates the issue (a failed renewal that's ready to be manually retried — even a test one with a dummy product at a small price is fine)
  3. Record a short screen video showing the exact steps that reproduce the double conversion, so I can replicate it myself
  4. Provide full WP Admin + FTP access to the cloned site so I can poke around the database and code freely without any risk to your live store

Once I can reproduce it on the clone and take database snapshots at each step, I'll be able to pinpoint exactly where the double conversion is happening and put together a proper fix.

p.s. Also, once you have the cloned site set up, you can run a quick experiment yourself: disable all plugins except WooCommerce, WOOCS, and the Subscriptions plugin, then try to reproduce the failed renewal. It's possible that another plugin is interfering with the currency recalculation.

 

Hi Alex,

Thanks so much for your help! I've setup the staging site and have provided a screencast and access details in the secure data area. Let me know if you need anything else :)

- Jonah

Hello Jonah

Task is registered, without 2 week I will back here about results. Alos please add in to private area ftp access to that stage site for a simpler and faster tests with the code ...

Hi Alex,

Thanks, and I've added FTP details to the private area as well. I'm looking forward to a solution!

Best,
- Jonah

Hello Jonah

Confirmed, ftp works fine ...

 

Hi Alex,

That's great, let me know if you need anything else!

Hello Jonah

Thank you!

Hi Alex, a quick update - I used Cursor to process the plugin files and generate a filter that resolves the issue. I tested it and it appears to work. Here is the code:

https://gist.github.com/jonahcoyote/11aaeab3eda0cb750e6f68c4de0f2220

Can you let me know if that's an acceptable solution?

Thanks,
Jonah

Hello Jonah

I send your request about the current task, and should get answer on Monday yet. Thank you for your cooperation ...

Hi Jonah

The approach is correct — dividing the stored order price by the currency rate to get back to base currency before WOOCS applies its conversion is exactly the right way to prevent double-conversion on failed renewal retries.

We will update an existing article (or create a new one) on currency-switcher.com covering this exact adaptation for WooSubscriptions, so others can benefit from it too.

Before putting this on your live site, please do a full test on your staging environment — cover all scenarios: successful renewal, failed renewal + manual retry, and make sure no other plugins interfere.

Thank you for your cooperation and for sharing the solution!

Hi Alex,

Happy to help, and thanks!

- Jonah

Hi Jonah

You are Welcome :)