How to integrate with Magento V2 (new)

How to Integrate with Magento V2 (New)

This page will help you integrate Magento V2 webstores with StoreFeeder

Our Magento V2 integration allows you to:

  • Download Magento orders (including unpaid orders)
  • Update Magento with tracking information to let customer know their orders have been dispatched
  • Download Magento products
  • Update inventory and price

If you find that you're struggling to understand some of the terminology used, check out the StoreFeeder Terminology Knowledge Base by clicking here.

Integrating StoreFeeder with your Magento marketplace can be a bit of a daunting process, however it can be easily achieved. Just follow the step by step instructions below and you should be up and running in no time.


Step by Step Guide

Step 1.

If your Magento Store is version 2.4.4 and above, you will need to make a small change to your Magento site first before continuing.

If you head into your Magento website, then under Stores > Services > OAuth, and then in the access token expiration section highlighted in the image.

There is another location this can be depending on the version of Magento you are using, which is Stores Settings Configuration > Services > OAuth

You will need to untick where it says "Use System Value" for both Customer Token Lifetime and Access Token Lifetime(might be called Access Token Expiration now), then set it to 5.

Step 2.

Next, sign into StoreFeeder using your login details. You will then be brought to the 'Dashboard' and will see a yellow bar at the top of the page indicating that you have sales channels that have not been tested. To begin the integration, click on the link in the yellow bar.

If this yellow bar doesn't appear on your dashboard then look to the top right of the page for "Settings" then click "Your Integrations".

Magento2Image1.png

Step 3.

You will now see the 'Integration Manager' page and a list of all of your channels.

To integrate your Magento channel, look for 'Existing Webstore Integrations' and then click on 'Edit/View Integration'.

Magento2Image2.png

If Magento does not already appear on this list then you will need to set up a new integration for it; you can do this by scrolling to the top right of the Integration Manager page and clicking the green button marked "+ New Integration".

Magento2Image3.png

Step 4.

If you are creating a new integration you will then be greeted by the following screens where you will need to pick the circled options.

If you are editing an already existing integration, you can skip this step.

Magento2Image4.pngMagento2ChannelSelection.png

You will then be asked to input a name for the integration and if you wish to extend permissions to all users on your account. Once you have finished, click the '+Add Integration' to proceed.

You will now see the 'Integration Details' page for this channel. In the 'Integration Profile Section' you can edit your Profile Name, select a Company Identity and set the channelโ€™s Active status.

StoreFeeder has pre-set the majority of these settings on this page. This is because the integration will default to the '' mode within StoreFeeder when it is created, allowing for the connection to be easily checked. Leave these settings as they are until you are ready to go live.


Step 5.

If you have already connected a Magento 2.X.X integration before and you are adding another integration for another Website on the same server then the connection you previously create should appear in the 'Connection' dropdown. If it is you can just select that and skip to Step 7.

You will be directed to the Integration Details page. In the Integration Profile section, select your Company identity from the dropdown menu. You will also see an option to switch the integration to Active. Keep this switched Off until the integration is fully linked to your Magento account.

In the Link Your Magento Account section, there are two available Magento Authentication methods: Token-based and Integration-based.

You must use the Token-based option if your Magento version is 2.4.4 or above.

When you click the Create Connection button, you will then get the following popup, which you will need to enter your Magento username and password used to log into your Magento site.

After filling in the required details, click the Create button. Once completed, your integration will be connected, and you can skip to Step 7.

For Magento versions 2.4.3 and below, you can use the integration based authentication.

To do so dropdown will have the 'New Connection' option selected, and displaying the 'Callback URL' and 'Identity Link URL' below that. You will need to copy these into your Magento admin panel, as detailed below.


Step 6.

In order to grant StoreFeeder permission to integrate with your Magento store, you will need to create a new integration for StoreFeeder from within your Magento admin panel.

In a separate tab or browser window, log into your Magento admin panel. Click the 'System' icon, then click 'Integrations':

Magento2Image5.png

Click 'Add new Integration'

Magento2Image6.png

You will be directed to the 'Integration info' tab of the 'New Integration' page.

In the fields, add in the new user details for the API user. Copy the 'Callback URL' and 'Identity link URL' provided in StoreFeeder into the appropriate fields. When complete, click the 'Save' button.

On the drop down arrow on the Save button is the option to 'Save and activate'. You must set user API permissions before activating the integration, or StoreFeeder will not be granted permission to download and update your orders and listings.

Next, Click the 'API' tab. here you will need to set the permissions (resource access) that StoreFeeder will be granted.

We recommend you select 'All' for the resource access. You can choose specific permissions by checking the boxes, but without granting StoreFeeder full access, some parts of your integration may not work properly.

2024-04-24 10_13_48-New Integration _ Extensions _ System _ Magento Admin โ€” Mozilla Firefox.png

Click 'Save' when you are ready.


Step 7.

Your integration will now be visible. Click 'Activate' to continue:

Confirm the activation of the integration on the next page by clicking the 'Allow' button:

Magento2Image9.png

If you have a popup blocker enabled, you will need to allow popups from StoreFeeder to continue with the integration. This can be done in the top right hand corner of your web browser.

It can take a couple of attempts to connect Magento V2 if you receive the error message below just keep trying and it will eventually connect successfully

Magento2IntegrationFailedConnection.png

Magento will then ask you to sign back into StoreFeeder to complete the integration in a separate window. Click 'Close' to Continue:

Magento2IntegrationSuccessConnection.png

Once you click connect, the popup window will disappear. Your Integration will now be set to 'active' in your Magento admin panel.


Step 8.

You can now re-enter StoreFeeder to complete the integration (You will need to refresh the page if you didn't close StoreFeeder) . You should see that the 'Connection' dropdown has been updated to the base URL of your Magento site. Click the 'Test Connection' button to check whether the integration was connected successfully and load a list of the Websites on your Magento server:

Magento2IntegrationConnected.png

To complete the process you will need to pick which website you would like your integration to be connected to.

Magento2IntegrationConnectedWebsiteSelect.png

There are a few additional settings that you might like to set depending on the setup of your Magento V2 webstore

Update Product Globally - If your Magento V2 setup only has a single website with a single store view you may want to update products at a global level (The All Store View option in the store view dropdown on the Magento product)

Trigger Order Status - This is the status that we use to decide which orders to download from your Magento V2 store view. Generally this is 'Processing' but may be different for you.

Set Not Visible When Out Of Stock - If a product runs out of stock you may want to hide it from your customers until it comes back into stock. If you do enabled this option

Magento2IntegrationAdditionalSettings.png

Finally, click the 'Save' button to complete the Magento V2.x integration.


Congratulations! Your Magento account and your StoreFeeder account are now integrated.

For information on the 'Channel Settings' found at the bottom of your Magento integration page, please see knowledgebases found here for further details.

Was this article helpful?