Maropost for Marketing natively integrates with Magento Open Source Edition v2.x. Use this integration to transfer your customers from Magento into your Maropost account, along with their purchase history.
Maropost for Marketing uses Magento’s application programming interface (API) to pull customer data and purchase history data once every 24 hours at 8AM Eastern Time Zone. Magento’s API does not support data transfers more frequently than once every day.
Setting Up the Integration
Step One: Log in to your Magento Admin account and navigate to System > Integrations to display the Integrations page. Click 'Add New Integration' to display the New Integration Page.
Step Two: Enter a unique name for the integration in the Name field. Then enter your admin password in the Your Password field. Leave all the other fields blank.
Step Three: Click the API tab. Select the Magento resources that the integration will access. You can either select 'All resources' as a short cut, or you can select the following resources:
- Sales -> Operations -> Orders -> Actions -> View
- Sales -> Operations -> Invoices
- Sales -> Operations -> Shipments
- Sales -> Operations -> Credit Memos
- Sales -> Operations -> Billing Agreements -> Actions -> View
- Sales -> Operations -> Billing Agreements -> Actions -> Place order under Billing Agreements
- Customers -> All Customers
- Customers -> Now Online
- Carts -> Manage Carts
- Reports -> Sales -> Orders
- Reports -> Sales -> Coupons
Step Four: Click the [Save] button to save your changes and return to the Integrations page.
Step Five: Click the Activate link in the grid that corresponds to the newly-created integration.
Step Six: Click 'Allow' to complete the configuration in Magento.
Step Seven: You’re now ready to complete the configuration in Maropost for Marketing. Log in to your account, mouse over your profile name in the right-hand corner of the screen and select 'Connections' from the menu. On the Connections page, click the 'Magento' tab.
Step Eight: Click the 'Add Settings' link on the page. When the modal appears select the appropriate integration that you want.
- Contacts Import — Imports contacts from Magento and adds them to the selected list in Maropost for Marketing.
- Sales Order Revenue — Imports sales order history from Magento and adds them to the Maropost for Marketing's Product/Revenue database.
It will also automatically add the contacts to the selected list. You will select this option if you are using Maropost’s plug-in extension for Magento which will automatically push purchase order history to Maropost for Marketing in real-time.
Step Nine: Add the customer key, consumer secret access token, and the access token secret key generated in Steps One through Six above. Add the domain of your Magento web store too.
Step Ten: Select the list that you want the contacts added to when they are imported into Maropost for Marketing. Click the [Save] button to complete your set up.
Installing Maropost’s Plug-in Extension for Magento Community Edition
Step One: Follow Steps 1 through 10 above to create an integration for Sales Order Revenue. Note the POST URL that appears in the Magento integration page. You’ll need this URL later in the configuration process.
Step Two: Log in to your command console and navigate to the 'app' folder of your Magento installation.
Step Two: Create the 'Code' folder inside the 'App' folder. If the 'Code' folder already exists, skip this step.
Step Three: Download the Maropost extension and place it inside the 'Code' folder.
Step Four: Type the command php bin/magento module:enable Maropost
Step Five: Type the command php bin/magento setup:upgrade
Step Six: Type the command php bin/magento module:status. This command will verify that the Maropost extension is enabled.
Step Seven: Type the command php bin/magento setup:di:compile
Step Eight: Login to the Admin panel of your Magento web store. Click on 'Stores,' then on 'Configuration.'
Step Nine: Add the Maropost post-back URL mentioned above in Step One into the 'Maropost Post URL' field, and click the [Save Config] button.