• First of all thank you for this excellent plugin.

    I would like to know how I could make the language auto-detection work or manually specify the checkout return url for each language – right now for some reason it is not returning to the correct domain/language page for me.

    I have a multi-language multi-domain setup, but right now it is returning to the main domain each time (away from the domain the user was on before checkout).

Viewing 1 replies (of 1 total)
  • Plugin Author Risto Niinemets

    (@ristoniinemets)

    Hello @folver,

    Sorry for the late response.

    What plugin are you using for the multilingual setup?

    The banklink return URL (from bank to website) is generated by WooCommerce itself (API URL) and WooCommerce generates the URL with WordPress’ native function home_url(). Any multilingual plugin should have this URL filtered with correct URL.

    After the return URL, bank response will be validated and then website redirects to order return page (thank you page), which is set in WooCommerce settings. The thank you page URL is also generated by native functions get_home_url() or get_permalink().

    So, in conclusion, the problem has to lay within the multilingual plugin, which is not properly translating or altering URL. Please check your plugins multilingual support for WooCommerce. WPML works nicely and shouldn’t have those kind of problems.

    Risto

Viewing 1 replies (of 1 total)
  • The topic ‘Page language after checkout return’ is closed to new replies.