Support » Plugin: WooCommerce QuickPay » WooCommerce QuickPay and WPML compatibility

  • Resolved David Garcia Watkins



    My name is David from the WPML Compatibility team. I’m writing to you about helping to resolve an issue between WPML and WooCommerce QuickPay.

    The issue is that E-mail strings won’t display translated when using WooCommerce QuickPay payment method.

    This happens because the confirmation of the order is made in the background and it always uses the default language.

    One way to resolve this is by adjusting the return URL to include language information. This way WPML will switch to the correct language before sending the email and everything will work as expected.

    To do this, you can edit ‘classes/woocommerce-quickpay-helper.php’ and look for the get_callback_url() function. In that function, change site_url with home_url

    This is because home_url includes language information, while site_url doesn’t.

    (reported in

    We’d like to ask your help in resolving that issue, we want our shared clients to have a fast solution and reduce future support requests.

    Please let me know if you can consider including that fix in WooCommerce QuickPay.


    David García Watkins
    WPML Compatibility Team
    The makers of WPML, Toolset and ICanLocalize

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hey there David 🙂
    I am trying to connect Quick Pay to the Faroese language available in Quick Pay, but I cannot seem to add it on the back and and therefore (I presume) I get an error message saying payment gateway cannot be reached? I am using wpml and have set Faroese as the default language…will editing the callback url help in this case?
    thanks in advance

    Hi Linda

    In the issue I am reporting here, the callback URL works in both languages.
    The problem is only that strings are translated or not.

    I’m sorry but I don’t think this has anything to do with your problem.

    Feel free to open a support ticket in the WPML forum and we’ll see what we can do:

    Plugin Author PerfectSolution


    Hi @dgwatkins

    Thank you for reporting this. Version 5.0.0 implements your suggested changes.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘WooCommerce QuickPay and WPML compatibility’ is closed to new replies.