PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

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

WOOCS Currency Switcher is not working correctly with WooCommerce Subscriptions

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.

Hi,

We have WOOCS Currency Switcher and WOocommerce Subscriptions plugins installed on our site. The customers are able to place the orders correctly in different currencies and the renewal orders are also done correctly in the same currency in which the order is placed. But the issue comes when we check the price in the subscription post. It shows the same amount but with the default currency of the site. Let me explain this with an example,

Our site has default currency as"GBP". So let's say a customer purchased a product worth $10 in USD and and £7.86 in GBP. So the parent order will have the order total as - $10. Now if we check the Susbscription post in webadmin, it will have the order total details in GBP (£) but the amount is the same i.e. it will have £10 GBP stored which is wrong because if the value is to be stored in GBP then it should be £7.86. Although when a renewal order is created it deducts the correct amount from customer's account i.e. $10 instead of £10.

Can you please suggest what should we need to do here?

 

Hello

Please  read  this - https://currency-switcher.com/woocs-labs/

Hello,

I read the article but I didn't understand what you want me to do. I am not creating any new plugin for which I need to make the compatibility adaption request. I just want to know if your plugin is already compatible with the Woocommerce Subscription plugin? If yes, then why is it not showing the prices with correct currency in the subscription post?

 

Okay, I see. You were referring to the section that provides the custom code for the compatibility with the different plugin. I get that. But there is one block of code which I cannot add - You suggested to make changes in the file \plugins\woocommerce-subscriptions-master\includes\class-wcs-cart-renewal.php. But, this folder is not present in the woocommerce subscription plugin. There is no folder named as woocommerce-subscriptions-master. Can you please advice?

Okay, the Above issue is resolved by installing the updated version of the WOOCS plugin. But I am still facing one issue, the Stripe Fee and Stripe Payout details are shown in webadmin for any order are not shown correctly. It shows the currency as the converted one but the amount is in default currency.

The order was placed in EUR currency and the default currency of the site is GBP. And I know that Stripe deducts amount by converting to the default currency. So I have attached the screenshots of Stripe and webadmmin. Please check:

The Actual amount is 221.74EUR and after converting to GBP it is 199.68GBP

Below is the screenshot of webadmin of the same order. As you can see in the screenshot below, the currency is deducted in EUR but the amount is 193.69 and that is the converted amount in GBP as given in the above screenshot of Stripe account.

Please check and advice.

 

 

Hi,

Did you get time to check this?

 

Hi,

This is really urgent. Please advise on the above.

Hello

Please  read  this - https://pluginus.net/support/topic/woocs-labs-woocs-causes-stripe-fee-and-stripe-payout-to-show-up-in-local-currencies-in-woocommerce-orders-2/

 

Hello,

Thank you so much for your help. It is working now.

Welcome;)

Hi,

We found some orders for which the meta_key"_woocs_order_rate" is not saved in the postmeta table. Other than that we found some orders which contain this key(_woocs_order_rate) but their value is wrongly saved in the database.

Can you please advise on this how-to proceed here?

Hello

Please describe it in more detail

We found some orders for which the meta_key"_woocs_order_rate" is not saved in the postmeta table -  how did you find it? This field is not generated if woocs is disabled

hich contain this key(_woocs_order_rate) but their value is wrongly saved in the database - How did you determine that this data is incorrect

For one of the order the data saved in our DB is -

_payment_method = paypal
_order_currency = USD
_woocs_order_base_currency = GBP
_woocs_order_rate  = 1

Here, _woocs_order_rate  should have value greater than 1.

 

it looks like you changed currency here - https://c2n.me/49lE6wp.png

No we have not changed currency from the option that you showed in the screen shot.

Also, on our site the base currency is GBP and the above given sample was an order placed by a customer in USD currency. And because of which _woocs_order_rate should have some other value than 1.

 

 

Hello

 on our site the base currency is GBP and the above given sample was an order placed by a customer in USD currency.  - I understood that.

These meta fields are written in one place and at the same time. Very low probability of writing the correct currency and not the correct rate (from somewhere the plugin should take 1).  And there is a very high probability that someone used this option( https://c2n.me/49lE6wp.png ) by mistake.

You  can  drop me wp-admin access  and  exact  link to this order( https://c2n.me/43SC6rb.png ->https://c2n.me/42BAoj4.png )

Hi, I am facing the similar issue with the subscription order placed via PayPal. The customer has placed an order with 2 subscription products and 1 Shop product in 92.84USD - http://c2n.me/49T4aKE.

Now a parent order is created with 92.84USD - http://c2n.me/49T4oMi

But the renewal order is created with 75.47GBP - https://c2n.me/49T4vLF

The renewal order should also be created via USD only. Also, as you can see in the screenshots above, the renewal order have product prices in USD but showing GBP sign and due to this wrong payment is done from the customer.

Also, this is not being replicated again. Can you please check this on high priority so that if there is an issue, we can resolve it together?

 

A gentle reminder to the above query raised

Here - https://pluginus.net/support/topic/issue-with-woocommerce-subscription-renewal-order-placed-via-paypal/