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 doent work with cloudflare caching

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, Recently i installed the website on Rocket.net hosting which uses cloudflare enterprise CDN Cache,

After installing i found that woocs multicurrency is not working correctly.

Before on nexcess it was working fine, Pls help.

This is developement website, just working on all the funtionality, its not live site.

Thanking You

Hello

 woocs multicurrency is not working correctly. - describe in more detail what specifically does not work

Please  check  option - https://share.pluginus.net/image/i20230111094447.png  and  do a test

 

Sir the currency doesnt show the current currency in other country

i had given all details in previous post, even i shared my website login details but you have not given any solution.

Woocs multicurrency is not working correctly means it doent shows the correct currency in different countries as per geolocation i have set in woocs,

This plugin main function is to show the correct currency for the countries which i have set in woocs geo-ip-rules,

Pls check and help me.

Hello

Please  try  to  read  this - https://currency-switcher.com/using-geolocation-causes-problems-doesnt-seem-to-work-for-me - Please follow the instructions in the article.

I did  a test - https://c2n.me/4hAMEpN.mp4 - As you can see, Woocommerce does not correctly determine the user's location( woocommerce incompatibility with your current caching settings ). My plugin correctly switches USD currency for visitors from USA

Hi sir, I have followed all Please  try  to  read  this - https://currency-switcher.com/using-geolocation-causes-problems-doesnt-seem-to-work-for-me - Please follow the instructions in the article.

it doesnt work.

I have also given all details password and a page created for geotesting ,

i have done all what you have suggested in for testing, woocs is not displaying coorect currency with the correct country which i have set in geo-ip rule, sir you can login my website and check and you can find that all setting is done as per your article.

Since i have hosted in Rocket.net which uses cloudflare , after that this woocs multicurrency doent work as said above.

pls give me solution

Thanking you

YOU TELL US WHAT SETTING YOU WANT ME TO DO///

I HAVE FOLLOWED EVERYTHING EXPLAINED HERE BY YOU( Please  try  to  read  this - https://currency-switcher.com/using-geolocation-causes-problems-doesnt-seem-to-work-for-me - Please follow the instructions in the article.)

IT DOENT WORK..

I HABVE GIVEN YOU THE WEBSITE LOGIN DETAIL AND YOU CAN CHECK WEATHER I HAVE DONE SETTING CORRECTLY OR NOT?

THE SETTING ARE :

1.MAXMIND LICENSE ALREADY DONE

2. GEOLOCATION WITH CACHING SUPPORT

3. SESSION IS : TRANSIENT, I HAVE TRIED REDIS ALSO

4, CHECKED IN DIFFERENT COMPUTERS AND DIFFERENT BROWSER ALSO

I HAVE ADDEDD THE CODE SNIPPET AS SAID IN YOUR SOLUTION, YOU CAN CHECK THE SNIPPETS IN MY WEBSITE ALSO , LOGIN DETAIL ALREADY GIVEN

NOW WHAT  YOU WANT ME TO DO PLS TELL US.......

SIR AGAIN I AM TELLING YOU THE PROBLEM:

THE MULTICURRENCY DOESNT SWITCH CORRECT CURRENCY AS PER THE COUNTRY SET IN GEOIP RULE, I FEEL ITS CLOUDFLARE CACHING PROBLEM, IF CLOUDFLARE IS DISABLED THEN IT WORKS FINE.

I HAVE HOSTED IN ROCKET.NET HOSTING WHICH USES ENTERPRISE CLOUDFLARE.

 

 

Hello

you can find that all setting is done as per your article. - Of course! And I checked it as soon as I got your access. And for this reason, I wrote to you to follow the recommendations from the article - you did not make the necessary settings

GEOLOCATION WITH CACHING SUPPORT - This is not true. Your  setting - https://share.pluginus.net/image/i20230118110604.png

You are using a caching plugin but have not enabled this option - https://share.pluginus.net/image/i20230118110743.png

THE MULTICURRENCY DOESNT SWITCH CORRECT CURRENCY AS PER THE COUNTRY SET IN GEOIP RULE  - https://c2n.me/4hAMEpN.mp4 - My test where the plugin correctly switches currency for US users.

Please pay attention to my message - https://share.pluginus.net/image/i20230118111334.png  - My plugin will enable the currency for the country defined by woocommerce.  It is very important that woocommerce works correctly with your server (with your caching settings)

Try to  read   this - https://community.cloudflare.com/t/geolocation-for-woocommerce-not-working-good-with-cloudflare/342097

 

 

Hi ,

As i had said earlier that before writing to you,i had tested options: 1. Geolocate with caching support, 2. i am using cache plugin ( i am using only redis object cache, for this also we need t o enable the option : i am using cache plugin then that also yes i enabled and checked.

Also the articles which you gave me i followed all one by one but it didnt work, After all doing i changed the options to defaults and then i gave you all login details to test. I mean to say that whatever you mentioned earlier to do , we have done all but its not working.

Next you have given a link:  https://c2n.me/4hAMEpN.mp4  , this link shows that for usa the currency is usd and it is showing for all the countries same, it doesnt recognises the correct country and correct currency. so here you are again wrong. i mean to say it is geo locating wrong , for all country its USA and currency is usd .

next you said: Try to  read   this - https://community.cloudflare.com/t/geolocation-for-woocommerce-not-working-good-with-cloudflare/342097,   WE have tried all the snippets and code mentioned but no successs, also for those guys in this article also had no success by using those codes and snippets, pls read yourself ....

You gave this: Please pay attention to my message - https://share.pluginus.net/image/i20230118111334.png -------->>>> this link doesnt work, it shows blank page

Now sir you tell me what is the solution?///

Also i have given you the login details , you can change the options or you can add the code by yourself and see their , you can find yourself weather whatever you gave solution is working or not? and then you can guide me what new i have to do in set up.

As i had said after changing to Rocket.net (this hosting using Enterprise Cloudflare cdn) , the currency and country is not geo-locating

Pls give us correct solution, Past 10 days we are testing all these things but not working

Thank you

 

Hello

it doesnt recognises the correct country and correct currency. - Not! My plugin correctly enabled USD currency( functionality of my plugin ) depending on the user's location (woocommerce functionality)

i mean to say it is geo locating wrong , for all country its USA and currency is usd ,  - Exactly! I wrote it to you in the second message - https://share.pluginus.net/image/i20230119094207.png  - Please read my messages.  I'll try to explain it in more detail. My plugin switches currency based on user's location. The functionality of my plugin is to get user location data from woocommerce and switch currency. woocommerce takes the user's IP data from your server and determines the user's location based on this.  Approximately such a chain:  Your server-[user IP]->Woocommerce-[user country]->FOX/WOOCS->switch  currency

So your server is sending incorrect user IP  and on the basis of this, woocommerce determines the country (in your case, it is USA - Because not a reliable IP belongs to this country). Then my plugin received data from woocommerce and looks for USA in the list and correctly switches the currency to USD based on the received data

In this chain, an incorrect operation occurs at this step - Your server-[user IP]->Woocommerce.  And my plugin is not here, my plugin can't affect it. I wrote you the reason in the second message - https://share.pluginus.net/image/i20230119101139.png

Now sir you tell me what is the solution?///  - write to your hosting support. Tell about incompatibility with woocommerce geolocation

All the recommendations that are described in the article remove problems at this stage - Woocommerce-[user country]->FOX/WOOCS->switch  currency

plugin setup is not included in support

Hi

Sir the link you gave is  https://share.pluginus.net/image/i20230118111334.png --- is not opening or showing anything

Can you check and give correct link so tha t we can see the image?

sir any way is there that the server can get the correct  user ip from cloudflare ?

Any php code is there so that server can get the real client ip from cloudflare?

if yes please give some php code

 

Hello

OK! correct   link (This is a screenshot of my second message )-  https://share.pluginus.net/image/i20230120083357.png

Unfortunately I don't have any code for you. You better contact hosting support. We have nothing to do with the functionality and configuration of servers

I only found this article - https://community.cloudflare.com/t/geolocation-for-woocommerce-not-working-good-with-cloudflare/342097  - There may be more articles, but I recommend that you contact your hosting support.