Support » Plugin: Mollie Payments for WooCommerce » webhookURL, redirectURL & default Polylang language slug conflict

  • Timothy Couckuyt


    Hey guys,

    We’ve recently discovered a huge bug in the latest version of the plugin, which makes the webhookURL & redirectURL generate 404’s and make a shop unusable.

    In includes/mollie/wc/gateway/abstract.php on line 967 in function getSiteUrlWithLanguage() you determine wether Polylang is installed and if so, you append the current language slug to the current slug.

    This is fine, but only if the Polylang setting “URL modifications > Hide URL language information for default language” checkbox is unchecked. When checked the complete site doens’t use a language slug at all. The plugin should definitely check for this setting when determined that Polylang is indeed active.

    In the meantime we’ve written a quick htaccess fix for it, but I pressume a lot of Polylang users could encounter the same bug.

    Thanks a lot!

    // T

Viewing 1 replies (of 1 total)
  • Plugin Author Nick



    Thanks for this issue. I will forward this to our developers so they can look at this problem.

    Best regards,

Viewing 1 replies (of 1 total)
  • The topic ‘webhookURL, redirectURL & default Polylang language slug conflict’ is closed to new replies.