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
      • In many cases, we experience that client’s Web server is behind a firewall, which will block our requests. Therefore, please make sure that you have done the following whitelisting changes to your firewall
      • Whitelist Price2Spy IPs (please ask  for the list of IPs we use)
      • Whitelist specific countries: please white list Serbia and The Netherlands (Holland)
      • Whitelist user-agent: Axis
      • Request rates
      • If your store contains a large number of products, Price2Spy will have to make a large number of requests to your Web server in order to perform the syncing.
      • If a large number of requests is problematic for your Web server – please contact  and we will spread the requests over a longer period of time
      • 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