Changes

m
Line 34: Line 34:  
== Common setup ==
 
== Common setup ==
 
All services of this module use OVH API. So you must have an OVH (www.ovh.com) account.
 
All services of this module use OVH API. So you must have an OVH (www.ovh.com) account.
  −
===For module version 3.7.0 or less (use old OVH API soAPI)===
  −
  −
Then go on Dolibarr, OVH module setup, tab "Common", and add your OVH account:
  −
<pre>
  −
* Nic handle
  −
* Mot de passe
  −
</pre>
  −
For field "URL of SOAP OVH service", type the value provided as example.
  −
<pre>
  −
* http://www.ovh.com/soapi/soapi-re-1.32.wsdl
  −
</pre>
  −
Once information are input, you can click onto "Test connexion" to check that Dolibarr can communicate with OVH server.
  −
  −
[[File:warning.png]] Your Dolibarr server must be able to contact OVH server on port 1664.
  −
  −
'''TroubleShooting'''
  −
  −
* If your server is not allowed to reach HTTPS web site and you get a "timeout" or "connection refused" error, try with this URL
  −
<pre>
  −
* http://www.ovh.com/soapi/soapi-re-1.32.wsdl
  −
</pre>
  −
  −
* Your Dolibarr sevrer may not be able to contact OVH server on port 1664. Check your firewall setup.
  −
  −
===For module version 3.8.0 or more (using new OVH API REST v6)===
      
Go on Dolibarr, OVH module setup, tab "Authentication", and add the following keys:
 
Go on Dolibarr, OVH module setup, tab "Authentication", and add the following keys:
   −
<pre>
   
* Application name
 
* Application name
 
* Application key
 
* Application key
 
* Application secret
 
* Application secret
</pre>
      
To get those 3 values, you must go on page  https://eu.api.ovh.com/createApp/
 
To get those 3 values, you must go on page  https://eu.api.ovh.com/createApp/