Skip to main content
IntegratorEpicor Eclipse ERPMagento

How to integrate Magento 2 with Epicor Eclipse?

By |December 14, 2018 May 9th, 2022No Comments

Are you using Magento and Epicor Eclipse for your eCommerce and ERP systems? Do you know the accuracy and speed of your Magento Epicor Eclipse Integration plays a major role on the success of your online business? In this article, we’ve outlined the impact of how ERP Integration saves your time and money and how it helps your business growth overall.

About Magento:

Magento, an Adobe Company

, is the world’s leading Multi-Channel Enterprise Commerce that empowers thousands of retailers and brands with the best eCommerce platforms and flexible cloud solutions to rapidly innovate and grow. It’s the only eCommerce platform to integrate both B2B and B2C experiences. Being part of the Adobe Experience Cloud, now the entire journey from content creation and analytics to marketing and commerce is integrated into one cloud platform.

About Epicor Eclipse:

Epicor Eclipse

is one among the leading distribution ERP software solution which offers powerful capabilities for wholesalers in the electric, plumbing/PVF, and HVAC industries. An ERP developed exclusively for these businesses is continually improved with a focus to make it easier for the customers to grow their distributorships. Today, the Eclipse system supports more than 750 wholesale distribution customers globally.

Minimum Requirements for Magento Epicor Eclipse Integration

Let’s take a quick look into the minimum requirements for Magento Epicor Eclipse Integration API services.

Magento 2

  • Your store must be running on Magento 2 Edition.
  • Oauth credentials (consumer key, consumer secret … etc)

How to get OAuth credentials in Magento 2 Admin

  • Go to Magento 2 Admin -> System -> Integration -> Add New Integration
  • After providing the required information you can get the following informations. Consumer Key, Consumer Secret, Access Token, Access Token Secret as shared in the below screenshot.

How to generate token in Epicor Eclipse

    • We should pass the following information to the below xml string payload to generate Token.
    • Required Information: Security_loginid, Security_password etc…

Security_loginid = “your details”
Security_password = “your details”

Below is an example xml string payload to generate token in the ERP system.
payload = "

…………
………….

“+security_loginid+”
“+security_password+”


………...>”

Note: please refer the Epicor Eclipse document for more details on the loginSubmit payload.

We use python requests library to generate token through requests method.
For example,
token = requests_post(tokenURL, data=payload)
tokenURL = Eclipse token generation url

Magento 2 Customer with Epicor Eclipse Entity, Contact

When a new account has signed up in Magento2 the Customer information will be synchronized automatically within a particular time interval to Epicor Eclipse Entity

Example Entity, Contact Payload for ERP


>
………………..
………………..
………………..


………………..
……………….

 

998 Fairway Dr

Opelika
AL
36801
USA

………………..
………………..

Note: Please check the Epicor Eclipse doc for more details on the EntityNewSubmit payload.

For example, we use python to post payload through requests method.
Entity = requests_post(“EntityNewSubmitURL”, data=payload)
You can get all the details in the response after successful submission.

Mapping Fields

Hope this blog gives you an overall insight about Magento Epicor Eclipse integration. Likewise you can integrate orders, products, dynamic price, inventory etc… Stay subscribed to learn more about our other integrations.

Jothibasu J

Author Jothibasu J

Jothibasu is a Senior Software Engineer with 6+ years of experience in PHP and Magento. His interests include playing volleyball during the weekends and watching science fiction movies. He is an active contributor to the Magento StackExchange forum.

More posts by Jothibasu J

Discover What You’re Missing

Get the weekly email full of actionable ideas and insights you can use at work and home.