Magento 1.x - integrating with Price2Spy

Magento 1.x – integrating with Price2Spy

Integrating your Magento 1.x store with Price2Spy

Supported Magento version: 1.6 and higher

 

Steps to be performed on Magento 1.x side

 

Please login to your Magento, and do the following

 

Defining API role

    1. Click System => Web Services => SOAP/XML – RPC – Roles
    2. Click Add new Role button
    3. In Role name field, type: price2spy-api
    4. Click Role Resources (left)
    5. Resource access (dropdown): select ALL
      1. Click Save Role

Magento 1.x - integrating with Price2Spy
Magento 1.x - integrating with Price2Spy
Magento 1.x - integrating with Price2Spy

Defining API user, assigning the role

    1. Click System => Web Services => SOAP/XML – RPC – Users
    2. Click Add new User button
    3. Fill in the following user details
      1. Username = price2spy
      2. First name = Price2Spy
      3. Last name = API User
      4. Email = support@price2spy.com
      5. API KEY = YOUR SECRET API KEY (please remember it well, you’ll need this in next steps)
      6. API KEY Confirmation = repeat the above key
      7. This account is ACTIVE
    4. Click User Role (left)
    5. Tick price2spy-api role
    6. Click Save User

Magento 1.x - integrating with Price2Spy
Magento 1.x - integrating with Price2Spy
Magento 1.x - integrating with Price2Spy

Steps to be performed in Price2Spy

 

Please login to your Price2Spy account and do the following

1.Click Misc => Link My Store

Magento 1.x - integrating with Price2Spy
2.Click MAGENTO 1.X and click Next
Magento 1.x - integrating with Price2Spy
3.Fill in store details

  • Store URLhttp://www.mymagentostore.com (this is the URL of your online store)
  • API URL: by default, copy Store URL field (in some cases, it may differ, if so, please contact us)
  • Username = price2spy (this corresponds to username defined in Magento setup (see above: point 2.3.1.)
  • Password =  YOUR SECRET API KEY (this corresponds to username defined in Magento setup (see above: point 2.3.5.)Please be patient: depending on your store size and your server speed, it may take 30s or so to establish a link to your Magento

Magento 1.x - integrating with Price2Spy
4.Select Categories (or leave default = all) from which the products should be copied

 

5.Click Matched products to see how many products are contained in the above categories, click Next

Magento 1.x - integrating with Price2Spy
6.Finalizing operation details

  • Name your operation (for example Magento | LINK)
  • Define execution frequency (default = 1 day)
  • Choose whether you want to be notified by email on each operation execution (default = OFF)
  • Check ‘Do it now‘ if you want the products to be copied immediately (otherwise, the operation will be done according to the daily schedule)
  • Define price check frequency (of the products created via Link My Store Operation)

7.Click Finish. Once your products have been linked from Magento, you’ll see them in your Price2Spy account

Magento 1.x - integrating with Price2Spy

 

Troubleshooting

 

 

  • WS-I Compliance: If you have followed the above steps, but you still receive error ‘Error logging in to Magento store‘, please check your WS-I Compliance setting (Magento Core API – please check the screenshot). This setting needs to be set to NO (which is it’s default value). Before changing this setting, please verify that you don’t have any other Magento plugins that require WS-I compliance set to YES.
  • Network / Firewall issues
    • When syncing your Magento with Price2Spy, Price2Spy has to perform an API request for each and every product you’re syncing (this is far from optimal, but I’m afraid this is the way Magento API works). For example – if you’d like to sync 2500 products, that means 2500 individual small HTTP requests from Price2Spy API to your Magento
    • In many cases we experience that client’s Magento is behind a firewall, which will block our requests. Therefore, please make sure that you have done the following whitelisting changes in your firewall
      • Whitelist Price2Spy IPs (please ask support@price2spy.com for the list of IPs we use)
      • Whitelist specific countries: please white list Serbia and The Netherlands (Holland)
      • Whitelist user-agent: Axis
    • In case you’re not sure where to apply the above firewall changes, please get in touch with your hosting company. If you’re unsure whom to contact, please let us know, we’ll be happy to point you in the right direction.

Magento 1.x - integrating with Price2Spy