INSTRUCTIONS FOR
Integrating your Magento 2.x store with Price2Spy
- Please make sure you have a registered Price2Spy account.
- To begin the integration process, please head over to the Magento 2.x admin section.
Instructions
STEPS IN MAGENTO
- Log in to your Magento 2.x account.
- Click on 'Systems' and then on 'Integrations'
- Click on 'Add New Integration' and fill out the following fields:
- Name = Price2Spy
- Email = can be left blank
- Callback URL = https://spy.price2spy.com/ei/magento2/callback/
- Identity Link URL = https://spy.price2spy.com/ei/magento2/authorize
- Current User Identity Verification = current password for Magento
API SETTINGS (MAGENTO) & CATEGORIES (PRICE2SPY)
- Highlight the following fields in the API tab:
- Catalog
- Inventory
- Products
- Categories
- Stores
- Attributes
- Products
- Click 'Save and Activate'.
- Click 'Allow'.
NOTE: At this step you will need to log in to your Price2Spy account, where you will be automatically directed to Step 3 of the integration process.
- Now you need to specify which product categories you would like to sync with your Price2Spy account. By default, all categories are included. Once you do so, click 'NEXT' to go to Step 4.
- Before clicking on 'NEXT' you may check how many products will be synced with your Price2Spy account by clicking 'CHECK'.
FINAL STEPS IN PRICE2SPY
- In Step 4 you can designate the desired execution and price check frequency. Once you do so, click on 'FINISH' to complete the Magento 2.x integration
- Once you click on 'FINISH', a window showing that everything is connected and that the first execution needs to pass will be shown.
- When the first execution is over in a few minutes, refresh the browser, and data from your Magento will appear at the bottom of the page.
Troubleshooting
- If an error occurs when clicking Allow. First, check if you are logged out of your Price2Spy account. If so and then an error occurs. You need to delete the made connection, then make a new connection. Following all steps only the Callback URL and Identity Link URL fields remain blank. After that, when you click on Allow again, a window with 4 tokens will open. Those tokens as well as the store URL need to be sent to the manager. You can see additional documentation for this issue https://devdocs.magento.com/guides/v2.4/get-started/authentication/gs-authentication-token.html#integration-tokens
- When a new window opens, after clicking on Allow in Magento admin, and you log in there, there is a possibility that then the connection to your Magento 2.x will not work. If it happens that it is not connected, then it is necessary to do one of the two actions:
- First action: Close this new window and open a new one and log in to your Price2Spy account. After that, you need to click on 'Integrations/Link My Store' and then Magento and Price2Spy will connect as in the picture.
- Second action: Delete the cache data in the browser and then do the first action.
Basic info
- All product-related columns (product name, SKU, internal ID, custom fields, metadata, brand, supplier, and category) can have 250 characters max
- Comment fields support 4GB (4,294,967,295 characters)
- URL is limited to 2,000 characters
- The following fields can contain 65,535 characters (64 KB): note1, note2, note3, image1Url, image2Url, and image3Url