• Resolved pgianferro82

    (@pgianferro82)


    Hi, I am using the fee version of the plugin, I set in the location tab the autodetect currency by Country. I need only to show the second currency (ARS) in Argentina, where I live. The thing is the autodetect function is not working. I tried accessing here from Argentina and I still see USD as the default currency, instead of ARS. The page with the items in usd/ars is https://ia.net.ar/courses

    What can I do to make it work? Thanks in advance.

    Pablo

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support mivtt

    (@mivtt)

    Hi,

    Thank you for letting us know your problem.

    1. Please follow this video guide to set up for the auto -detect currency option: https://youtu.be/XIfK0AdFuk4

    2. Then check your site on an incognito browser (it is the same as the case of your customers), it will not work with the admin account.

    3. Testing the auto-detection by VPN app may be not correct because it sometimes generates the wrong IP for the countries you choose, so it can make our plugin detect the currencies incorrectly. It is better to check with the customers from different countries.

    Let us know if these hints do not help.

    Best regards.

    Thread Starter pgianferro82

    (@pgianferro82)

    Hi, I have followed all the steps of the video but unfortunatelly it is still not working.

    To give you more info:

    ABOUT MULTICURRENCY PLUGIN

    1) In general tab I put
    Enable: ON
    Fix Price: ON (I need to use this functionality also)
    Use cache plugin: ON

    2) In Location Tab:
    Autodetect: Auto Select Currency
    GEO API: WooCommerce
    Currency by Country: ON

    First Currency USD > Selected Countries > United States, Chile
    Second Currency ARS > Selected Countries > Argentina (this is where I live so I should see the second currency in incognito mode, but so far it does not work at all)

    ABOUT WOOCOMMERCE PLUGIN

    1) In general Tab
    Default Customer Location: Geolocate

    2) In Integration Tab
    Maxmind Geolocation it’s ON with a license Key

    I am using WP Fastest Cache and I get this message:

    You are using WP Fastest Cache. Please make follow these steps to help Multi Currency for WooCommerce work fine with WP Fastest Cache.

    1. In WooCommerce → Settings → General → Default customer location make sure you have selected: Geolocate with page caching support
    2. Open wp-config.php file via FTP then insert define(‘WPFC_CACHE_QUERYSTRING’, true);

    Hope you can help me since I don’t know what else to try.
    Thanks in advance,
    Pablo

    • This reply was modified 3 years, 6 months ago by pgianferro82.

    Hi Pablo,
    Does the issue occur if you deactivate WP fastest cache?
    Also, please send me a screenshot of the System status page(under our plugin’s main menu).
    Best regards

    Thread Starter pgianferro82

    (@pgianferro82)

    Thank you so much for your quick reply. I tried deactivacting WP fastest cache and still get the same issue. Here is the screenshot’s link:

    Screenshot 1
    https://drive.google.com/file/d/1CFkiN9Y-4RgL3weUt4KORgsp8mwZIror/view?usp=sharing

    Screentshot 2
    https://drive.google.com/file/d/1LQZfdvsuAhXb7fsbVcYzp7BQpcoM9B91/view?usp=sharing

    And also the transcript of the system status

    System Status
    file_get_contents	?
    file_put_contents	?
    PHP Time Limit	30
    PHP Max Input Vars	1000
    Memory Limit	256M
    Allow URL Open	?
    Session path	
    Your IP	
    [WooCommerce] Your IP : 10.0.0.2
    [WooCommerce] Your GEO IP : {"country":"","state":"","city":"","postcode":""}
    _SERVER system
    Array
    (
        [SERVER_SOFTWARE] => Apache/2.4.38 (Debian)
        [REQUEST_URI] => /wp-admin/admin.php?page=woo-multi-currency-system-status
        [HTTP_AUTHORIZATION] => 
        [HTTP_HOST] => ia.net.ar
        [HTTP_SEC_CH_UA] => \" Not A;Brand\";v=\"99\", \"Chromium\";v=\"90\", \"Google Chrome\";v=\"90\"
        [HTTP_SEC_CH_UA_MOBILE] => ?0
        [HTTP_UPGRADE_INSECURE_REQUESTS] => 1
        [HTTP_USER_AGENT] => Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36
        [HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
        [HTTP_SEC_FETCH_SITE] => same-origin
        [HTTP_SEC_FETCH_MODE] => navigate
        [HTTP_SEC_FETCH_USER] => ?1
        [HTTP_SEC_FETCH_DEST] => document
        [HTTP_REFERER] => https://ia.net.ar/wp-admin/admin.php?page=wc-settings
        [HTTP_ACCEPT_ENCODING] => gzip, deflate, br
        [HTTP_ACCEPT_LANGUAGE] => es-ES,es;q=0.9,en;q=0.8
        [HTTP_COOKIE] => wordpress_sec_1fd6a179525adfb439f907de986fa806=pablogianferro%7C1620318665%7CEXioogEAnts8BXZfAbJsDrORFzpJ8CNkHnQoUTpwCsY%7C0a9d0cc9a2d389b4e5df5a5aefd8bc15ce7aa5068578635e14b311dcc7ff147b; wmc_current_currency=USD; wordpress_test_cookie=WP+Cookie+check; wordpress_logged_in_1fd6a179525adfb439f907de986fa806=pablogianferro%7C1620318665%7CEXioogEAnts8BXZfAbJsDrORFzpJ8CNkHnQoUTpwCsY%7C60b8f9526f3de4e894a1d9f75346fef56bab807b7e6a76066d343b1e7f8fa144; tk_ai=woo%3AkusFqr2jQ4NADBYktmBFPLIN; wp-settings-time-1=1620161629; wp-settings-1=posts_list_mode%3Dlist%26libraryContent%3Dbrowse%26edit_element_vcUIPanelWidth%3D650%26edit_element_vcUIPanelLeft%3D433px%26edit_element_vcUIPanelTop%3D160px%26editor%3Dtinymce%26panel_vcUIPanelWidth%3D650%26panel_vcUIPanelLeft%3D720px%26panel_vcUIPanelTop%3D74px%26hidetb%3D1%26advImgDetails%3Dshow; wp_llms_session_1fd6a179525adfb439f907de986fa806=1%7C%7C1620234654%7C%7C1620231054%7C%7C8981f41c99328825da108d96b27e8610; mailchimp_landing_site=https%3A%2F%2Fia.net.ar%2Fwp-json%2Fwc-analytics%2Fadmin%2Fnotes%3Fpage%3D1%26per_page%3D25%26type%3Derror%252Cupdate%26status%3Dunactioned%26_locale%3Duser
        [HTTP_X_FORWARDED_PROTO] => https
        [PATH] => /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
        [SERVER_SIGNATURE] => 
    Apache/2.4.38 (Debian) Server at ia.net.ar Port 80
    
        [SERVER_NAME] => ia.net.ar
        [SERVER_ADDR] => 10.0.0.108
        [SERVER_PORT] => 80
        [REMOTE_ADDR] => 10.0.0.2
        [DOCUMENT_ROOT] => /var/www/html
        [REQUEST_SCHEME] => http
        [CONTEXT_PREFIX] => 
        [CONTEXT_DOCUMENT_ROOT] => /var/www/html
        [SERVER_ADMIN] => webmaster@localhost
        [SCRIPT_FILENAME] => /var/www/html/wp-admin/admin.php
        [REMOTE_PORT] => 44110
        [GATEWAY_INTERFACE] => CGI/1.1
        [SERVER_PROTOCOL] => HTTP/1.1
        [REQUEST_METHOD] => GET
        [QUERY_STRING] => page=woo-multi-currency-system-status
        [SCRIPT_NAME] => /wp-admin/admin.php
        [PHP_SELF] => /wp-admin/admin.php
        [REQUEST_TIME_FLOAT] => 1620213249.2989
        [REQUEST_TIME] => 1620213249
        [HTTPS] => on
    )

    Thanks in advance.
    Pablo

    As you can see, your IP is private IP, please read https://whatismyipaddress.com/private-ip
    Please forward this message to your host to ask for help.
    Best regards

    Thread Starter pgianferro82

    (@pgianferro82)

    Excellent! I talked to my host and he put a command called “option forwardfor” that we needed to suit this particular host’s architecture.

    Thank you so much for you quick and effective reply.

    Best regards,

    Pablo

    • This reply was modified 3 years, 6 months ago by pgianferro82.

    You’re welcome.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Auto detect currency based on Country’ is closed to new replies.