NOTE:  The integration described below is being abandoned and replaced by a new implementation that provides more functionality https://metakocka.freshdesk.com/sl/support/solutions/articles/3000094271-magento-1-9-soap-vzpostavitev-integacije-z-metakocko



To establish a connection with the Magento 1.9 online store, acquiring the following data is needed:

  • Online store address
  • Consumer Key
  • Consumer Secret


Connecting is conducted in two parts - setup in the Magento 1.9 online store and in connection settings of MetaKocka


1. Magento 1.9 settings:

 


  • Log in to Magento 1.9
  • To reach connection settings, go to System -> Web Services -> REST – OAuth Consumer
  • On the page that opens, choose »Add New« 
  • »Consumer Key« and  »Consumer Secret« data are already entered automatically when adding the connection. Naming the connection is needed only.
  • Enter the current user password with which you are signed in to Magento 1.9 to ensure that adding new access, that will be used for MetaKocka, has been done successfully. 
  • Click on »Save« to save changes.
  • Now, accessibility permissions need to be set up: go to System -> Web Services -> REST – Roles
  • Choose Admin role, so that settings would open
  • In Role Info enter the password of the current user in Magento 1.9 and click on Role API Resources, to assign the access permissions of MetaKocka
  • When accessibility settings open, from the drop-down menu choose All (MetaKocka directly or indirectly requires access to the majority of data)
  • When the access to all sources is selected, choose the settings for Role Users
  • On the page Role Users, check whether the current administrator/user account that we are signed into the Magento 1.9 system with, is also entered among the Administrators. If not, add it.
  • Save your settings


 



 

2. Connection settings in MetaKocka


  • Open Settings -> Links
  • From the drop-down menu choose  »Magento 1.9«
  • Click on »Add«, to add Magento 1.9 to our connections
  • From the Magento 1.9 online store copy previously created Consumer Key and Consumer Secret. Enter the full online store address (in the URL field) the same way.
  • Click on the Authorize with MetaKocka button, which will open a new window with a connection to Magento 1.9
  • When the new window is open, click on the Authorize MetaKocka button – that way, the authorizing procedure between MetaKocka and Magento 1.9 online store is started
  • A new login window will open in the Magento 1.9 online store. Enter data and click on Login.
  • On the page that opens, choose Authorize to allow access to Magento 1.9.
  • After clicking on the Authorize button, two bold codes will be shown on the screen, both needed to access Magento 1.9 (Access Token ter Access Token Secret)
  • Copy both codes in the appropriate fields in the connection settings of MetaKocka. At the end, save your settings