Magento 2.x – integrating with Price2Spy
The next step towards integration is in Magento 2.x admin.
- Log in to your Magento
- Click Integrations and then Add New Integration
- In the Integration Info tab, fill in the following fields
3.1.Name = Price2Spy
3.2.Email = it can be left blank
3.3.Callback URL = https://spy.price2spy.com/ei/magento2/callback/
3.4.Identity Link URL = https://spy.price2spy.com/ei/magento2/authorize
3.5.Current User Identity Verification = current password for Magento
So you see automatic Step 3.
In this step, you need to select the categories you want. If nothing is selected then Price2Spy thinks you want all categories.
Once you have selected some or all of the categories, clicking Next takes you to Step 4.
After that, a window like this will appear, showing that everything is connected and that the first execution needs to pass.
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 Misc/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