Replies: 0
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