Magento Account Access

On Magento:

  1. Install SOAP for Magento – This may already be installed in your Magento instance.

Note: The following settings are under the System menu, under Web Services. This is NOT a regular user/role.

  1. In your Magento admin, go to System->Web Services->SOAP/XML-RPC - Roles.
  2. Click Add New Role at the top right.
  3. In the Role Info tab, set the Role Name to "farappws" and enter your Magento admin password in the Current Admin Password field.
  4. In the Role Resources tab, set Resource Access to All.
  5. Click Save Role to create the role.
  6. Go to System->Web Services->SOAP/XML-RPC - Users.
  7. Click Add New User at the top right.
  8. In the User Info tab, set the User Name, First Name, and Last Name fields all to farapp.
  9. Set the Email to farapp@YOUR_DOMAIN.
  10. Enter your Magento admin password in the Current Admin Password field.
  11. Set the API Key and API Key Confirmation fields to a secret string of your choice (please note this because you will need to enter it in the FarApp dashboard).
  12. In the User Role tab, select "farappws".
  13. Click Save User at the top right.

The Magento URLs for FarApp are (most likely) in the form:
http://YOUR_DOMAIN_OR_IP/YOUR_SHOP_PAGE/index.php/api/soap/index/
http://YOUR_DOMAIN_OR_IP/YOUR_SHOP_PAGE/index.php/api/soap?wsdl

Alternatively you can try this format:

http://YOUR_DOMAIN_OR_IP/YOUR_SHOP_PAGE/index.php/api/soap
http://YOUR_DOMAIN_OR_IP/YOUR_SHOP_PAGE/index.php/api/?wsdl

 

  • You can test by looking at the second link (wsdl), it should show up properly in a web browser.
  • Your “BASE URL” is listed in Magento under System : Configuration : General : Web : Unsecure.
  • Please enter these URLs, User Name, and the API Key in the appropriate text fields in your Magento dashboard.

**Please note: If you browse to http://YOUR_DOMAIN_OR_IP/YOUR_SHOP_PAGE/index.php/api/soap/index/ and you see an error such as SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://YOUR_DOMAIN_OR_IP/YOUR_SHOP_PAGE/index.php/api/soap/index/?wsdl=1' : failed to load external entity "http://YOUR_DOMAIN_OR_IP/YOUR_SHOP_PAGE/index.php/api/soap/index/?wsdl=1" it indicates a configuration issue with your server and FarApp will not be able to connect. This error indicates that your server can't access its own webpages using the URL for the server (i.e it can't resolve its own hostname). If you log into your server and open a browser and try to browse to your Magento site, you won't be able to access it (and FarApp won't be able to connect) until you resolve the configuration issue.

FarApp Magento Extension

If you are going to be syncing items (both new or existing) to Magento to update properties like images, descriptions, etc. you'll need to install our Magento extension. To do so, please follow the instructions at https://support.farapp.com/hc/en-us/articles/216635818-How-to-Install-and-Update-Magento-Extension. Note: The Magento Extension is only required for full product sync.

Comments