Wrong Dolibarr Root URL / WooSync

Hi Everyone,

I am trying to configure WooSync and I am stumbling over a problem that is probably not related to the plugin itself (but more a global Dolibarr configuration problem).

Dolibarr is installed and running perfectly on mydomain.com/dolibarr/htdocs/index.php

I install the WooSync Plugin and try to configure it - all good here BUT if I try to do a test connection this happens:

https://www.mydomain.com/dolibarr/htdocs/custom/ecommerceng/admin/www.mydomain.com/wp-json/

So some global configuration attaches the string “https://www.mydomain.com/dolibarr/htdocs/custom/ecommerceng/admin/” in front of the working URL?

Fiddling around with the conf.php file did not resolve the problem - Is there a global parameter in Dolibarr that I need to change to get it working?

I would highly appreciate if you could direct me to a possible solution to this problem?

Thanks for your help.

Best regards,
Chris.

Jumping on this thread because I am experiencing what i believe to be the same issue.
I add mydomain.com/wp-json/wc/v3/
to the config and it transmutes it to
mydomain.com/wp-json/wc/v3/wp-json/
The first is valid the second isn’t. I also Chimmed in on the github Hope for an update soon. Version.4.1.53