1. 1
  2. 2
  3. 3
  4. 4
  5. 5

If you are an e-commerce trader, you may be one of the lucky ones who not only survived the difficult period of the lockdown but also saw significant gains in profits. Such a pleasant surprise during the COVID-19 pandemic happened to many retailers who developed their businesses despite the crisis.

Read More

More and more companies dealing in online trading use the Magento platform. Until recently, sellers had to settle for the first version of the Magento e-commerce platform. However, now the new edition offers, among other improvements of the order acceptance system, simple headless PWA implementations or multi-level authentication.

Read More

For years, we have been implementing e-Commerce platforms for our clients' businesses. In this way, we help them spread their wings and improve the operation of the entire company. Choosing the right software is the basis for effective sales. This is an important issue for both the seller and the customer. The fast operation of the store, the possibility of multi-level browsing of products, adding them to favorites, verification of the shopping cart and many other aspects affect customers' purchasing decisions. It is on their basis that they decide (or not) to choose a given online store. That is why every website should be stable and efficient. After all, it represents your brand. So it's safe to say that making a decision about choosing a hosting platform is the most important step and a key element in running your business.

Read More

How to secure your shop with Magento Security Scan Tool? Forewarned is always insured? This slogan has entered our culture so much that today hardly anyone remembers the occasion on which it was created. It was for the PZU advertising. Although it is no longer broadcast, the slogan is still valid. In our case, it is worth relating them to the functioning of the online store, because by protecting it in advance, we can be sure that the hacking attack will not be so terrible for us.

Read More

As you know, in recent times more and more attention has been paid to online security. This applies not only to websites that are used on a daily basis, but above all to online stores. If you are a reseller, you probably know how important it is to keep your website and customers safe.

Read More

Consumers are more likely than ever to buy with their mobile phones. According to Adobe, smartphones are on track to generate over 50% of online spending by September 2022. The share of people using them to obtain a loyalty loan increased from 26.8% in 2019 to 34.8% in 2020. Experts believe online shopping and mobile commerce will continue to expand as the pandemic continues.


Improving the comfort of using your mobile phone may therefore be one of the most important investments you will make in your business this year. "Meeting customer needs and expectations is essential at this point: it can either build up or damage your brand," said Nate Smith, group manager for product marketing, Adobe Analytics.


Progressive Web Apps (PWA) are the best way to provide a great customer experience across all mobile devices and even desktops. They can replace a mosaic of responsive websites and mobile apps with a single codebase that works for all endpoints.

Read More

Hacking attacks are still a common case that owners of popular sites have to deal with. Usually the biggest problem is that you may not even know that your e-commerce store has been attacked. If criminals have hit your business, you need to clean the infected Magento website. In addition, you must take care to protect against possible further intrusions. To help you with this, we discuss how to identify, fix and secure the Magento system and include information about the most common types of intrusions and the ways in which criminals use e-commerce stores to their advantage.

Read More

Everyone in the industry knows that Magento has become the most powerful e-commerce platform. It is Open Source based, has a lot of features and additions, is flexible and durable. However, the question remains, does the industry opinion grow up to the real requirements that are facing it? In this article, we will introduce you to the technical and practical aspects that will help you understand why Magento is the perfect solution for any e-commerce business.

Read More

Streamlining your workflow is a very important part of running any business. This is done primarily to reduce the number of insignificant duties or to automate frequently repetitive activities. Thanks to this, we are able to save time and financial resources. Magento sellers who want to automate routine duties also strive to do the same in order to be able to focus on more profitable business processes or on other complicated and requiring more attention matters. There is also no need to hide that this approach allows you to spend your free time in a slightly more pleasant way and simply break away from work. How can I do that? Thanks to Magento 2 webhooks and automation they guarantee. See what Webhooks are and how do they work in Magento 2, and learn about the best solutions developed to transform e-commerce workloads into background processes.


What are Webhooks?

At the outset, it is worth emphasizing that Webhooks are not available by default in Magento 2. Fortunately, the very flexible architecture of the platform allows them to be adapted to the needs of a given company. So you can easily create even a very complex automation with them and achieve goals specific to your company.


What are Webhooks? These are the elements that represent how applications communicate. However, this interaction requires external influence. How does it work? You set up the system and it works according to your guidelines, while all processes run automatically in the background. To better understand the phenomenon - we present the example of Paypal. The entire website relies on Webhooks that inform your accounting application about the emergence of new payments. So you don't have to look for new transactions yourself, because you know about them right away.


Why use Webhooks in Magento 2 when the platform offers its native API, flexible enough to allow every sync? The case is not that simple. Even though the Magento platform includes an API, you still have to work hard to adapt it to your individual requirements. The more complex and unusual they are, the more time and money you have to spend on them. Thanks to Webhooks, in some cases you can radically reduce the costs incurred, compared to when you would only use the API.


Differences between Webhook and API

Magento 2 API is certainly number one when it comes to integration. It is a very effective support for any seller. The drawback of using the API is the need to constantly ask for data. The first thing to do is to send requests to obtain the necessary data before it becomes obsolete. Unfortunately, this is time consuming and can be quite tedious because communication takes more resources than it should. The more frequently your queries are, the more overloaded the system becomes. So if an operation requires frequent updates, this method may not work. Then your Webhooks come to your rescue. Their principle of operation is the opposite of the API. You don't have to ask questions yourself, Webhooks will inform you about important data themselves.


How do webhooks work?

The most important point is that the third party app or site is the webhook provider. This means that immediately after a specific action occurs, it sends a signal to your website - Magento 2. This, in turn, contains the so-called "Listener", which is a URL designed to do two things. First, it receives a response from the Webhooks. Second, it performs a predefined action shortly thereafter.


As a clarification - Webhooks are user-defined HTTP callbacks. They are small pieces of code related to a web application. They are triggered by specific events. This is the key algorithm of this technology:


1. The triggering event appears on the source site or linked application.

2. The webhook detects this event.

3. Relevant data is collected.

4. The webhook sends the collected information to the specified URL - "listener".


The technology is so flexible that you can configure an event on one site to run the selected action on another page.


And to note the difference between the API and Webhooks, it's worth noting that the former relies on request-based exit mechanisms, while webhooks contain event-based exit rules.


To sum up - Webhooks are instant notifications about specific events that meet the given criteria. Pre-requested data is transferred to other applications in real time, unlike the typical API where frequent, self-requesting data is necessary. As a result, with Webhooks you get more efficiency!


Examples of using Webhooks outside of Magento 2

You probably meet with Webhooks more often than you think during everyday use of the Internet. For example, if you use MailChimp to automate e-mail marketing, you associate processes such as subscription, unsubscribe, profile updates, etc. Webhooks are involved in all these activities. If you run a weekly newsletter, the system notifies you when the subscriber changes their email ID. Thanks to this, you can update the relevant record in your CRM system or elsewhere, without wasting unnecessary time.


Shopify is another example. There, a set of webhooks informs you about product, cart, checkout, order and return data updates. The platform does everything to avoid situations where an order is missed or other real changes go unnoticed. Such action ensures really efficient customer service.


Magento 2 - Prerequisites for using Webhooks

How did Webhooks become part of Magento 2? Let's take a closer look at it!


Magento 2 REST API

It is worth noting that Magento offers various REST endpoints. The choice of a specific one depends on the type of user's request. However, obtaining information is only possible after sending the inquiry. For security reasons, a special token is required to access the client and administrator REST API endpoints. This makes data exchange quite complicated.


REST endpoints are grouped according to user type:


1. Administrator REST API endpoints.

2. Client REST API endpoints.

3. Guest REST API endpoints.


An important feature of the REST API is also that it allows the POST, PUT, PATCH, and DELETE endpoints to run asynchronously. The entire process takes place while the async.operations.all message queue is active. The purpose of this type of web endpoint is to inform the user of asynchronous routes, payloads, and responses. This information does not directly translate into the functioning of Magento 2 Webhooks, but at the moment it is necessary to present the entire functioning of this tool.


Magento 2 GraphQL

Why does Magento 2 include GraphQL? The answer is simple - to meet the different needs of users. It uses the data query language as an alternative to web REST and SOAP APIs due to better frontend development.


From the version of Magento 2.3.4 you can use the following GraphQL functions:


1. Support all types of products as well as payment and shipping methods.

2. Use a response time of less than 0.5 seconds for 500 simultaneous requests.

3. Use layered navigation using GraphQL.


In future versions of Magento, the plans include full GraphQL coverage for B2C. For example, if your development team performs actions to streamline re-ordering, in-store pickups related to inventory management, order history for logged in customers, gift wrapping, payment methods, etc., it should include coverage for B2B scenarios.


Event and observer

Event and observer are one of the main ways to extend the default functionality of Magento 2 by enabling the publish-subscribe pattern. The latter runs custom code in response to native Magento action or custom events.


In Magento 2, modules can send events after certain actions (events). The system offers flexible order shipping as both default and custom conditions are allowed. When any of them are provided, the data is passed on to observers for tracking purposes. The followers, in turn, represent a specific type of Magento class that can affect the overall behavior of the entire e-commerce site, changing its performance or business logic. They follow the events they are supposed to keep an eye on. When such events are sent out, the right observers appear. The algorithm of events and observers is somewhat similar to Webhooks, but it is not the same mechanism.


Webhooks in Magento 2


API design for the website


Research and observations show that the Magento event concept already offers a logical place for webhook implementation. However, there are problems that prevent this.


It would be good if the webhook calls were made asynchronously. This would help to avoid slowing down the processing of the main thread. Since nobody wants PHP code to be blocked because of a slow external URL, this could be the main cause of concern about Magento 2 webhooks.


Beyond the above problem, there is the fact that events often go through classes. What does it mean? Imagine a situation where you need to send data to a remote endpoint. To achieve this goal, you must serialize the appropriate data from the class. The consequence of serialization is therefore a data structure such as JSON or XML that is POST sent to the configured URL. Unfortunately, the procedure cannot be completed without serializing the code.


That's why the first idea behind Magento 2 Webhooks was to implement an example module that launches the Webhook by registering an observer. The latter then sends an HTTP request to the remote endpoint. Then the Observer.php file is created in the Magento_CacheInvalidate module. This is a simple implementation for an observer that includes the events.xml file and a reference to curl. As for the Magento_CacheInvalidate module, its job is for the observer to carry out the Webhook implementation and notify the external url when it needs to empty its cache.


What is the algorithm of such a project?


1. The events.xml file in the etc directory associates various events with functions in the Observer class.

2. Observer constructor includes reference to Magento, Framework, HTTP, Adapter, Curl. There is a dependency insertion framework that provides the observer with this instance whose sole purpose is to communicate with the PHP curl library. The latter is an HTTP client library built into PHP.

3. invalidateVarnish () causes the sample code that extracts information from an event to create the data that is sent to Varnish. However, sendPurgeRequest () is called to insert a string into the HTTP header field. There is no problem adapting it to generate a JSON or XML payload.

4. The flushAllCache () function shows an example of sending a Webhook call. No data is taken from the event.


It should be emphasized that non-standard logic is taken into account here. For example, the configuration settings are used to check if Varnish is enabled. This step is not required for a regular webhook. InvalidateVarnish () finds a valid Varnish header string. To implement webhooks in Magento 2, we take flushAllCache () function here and delete unnecessary data structures. This method illustrates the complexity of the code required, but should not be used.


As a result, the code necessary to implement the Webhook in Magento 2 is relatively short. There is no need to add a code snippet to extract data from an event, assuming you want to send that data to the endpoint. At the same time, it's pretty easy to do with PHP as it supports JSON and XML by default.


Magento 2 Webhooks Extensions

You are not coding proficient, but want to automate some of the processes using Magento 2 Webhooks? Fortunately, the developers thought of a user-friendly alternative. These are extensions that use event-based exit rules. Check below what belongs to them!


Magento 2 Webhooks by Wizkunde

It is a module that will provide your e-commerce website with an ERP connection, with a fulfillment service or with another system with a REST interface for 199 EUR. As with other ready-made modules, there is no need to write any code. By using this Magento 2 Webhooks plugin, you can connect Magento 2 with a REST compliant API of any complexity, getting customer, catalog and sales data in real time.


The key benefit of this extension is that it will not overload your Magento 2 website. Because as we mentioned, Magento 2 webhooks only send data when certain conditions are met. Consequently, system resources are used as efficiently as possible. When it comes to high-traffic websites, all data is transferred in a fully controlled manner. So nothing happens without your knowledge.


Moreover, the Magento 2 Webhooks extension transmits not only real-time data but also all the up-to-date information required for integration. Historical store data is transferred to the REST API endpoint using Burst Queue.


The extension is safe with sensitive information. You just need to rely on HTTPS as your endpoint. Therefore, the connection itself is encrypted with SSL. HMAC headers are another security measure. The Magento 2 Webhooks extension allows you to use it to verify data integrity on the REST API side while automating multiple backend processes. To do this, then you need to use the encrypted key set in the back-end of Magento 2, verifying the signature against the data sent. This is an additional security measure that strengthens the security of stored data.


It's also worth mentioning that the Magento 2 Webhooks extension is really easy to use. After installing the module, you must perform a user-friendly configuration. Flexible conditions allow you to send webhooks to the required endpoints by specifying only the correct URL. Each Magento 2 online store can be set to a separate ID to distinguish between how Webhooks are sent and to have no doubts which site it refers to. In addition, you can specify which webhooks to use. Enable or disable data flows required by the integration being performed.


By using this module, you send webhook data from the queue, reducing the load on the page. To further increase your productivity, you can define the maximum number of items to be moved within the entire cycle. Isn't that a great solution?


Webhook for Magento 2 by Mageplaza

Megaplaza has its own point of view on Magento 2 Webhook extensions. Unlike the tools mentioned above, it is free. How does it work?


The plugin helps in setting API requests to customizable destinations such as CRM tools or for e-mail marketing after certain events such as cart abandonment. The module registers requests and responses, and sends alerts about errors in the requests.


As a store admin, you can create Hooks based on the following events:


✔ creating new orders, invoices, shipments or credit notes,

✔ receiving a comment on a new order,

✔ updating, sharing or deleting customer data,

✔ updating or deleting product data,

✔ updating or deleting category data,

✔ customer logins to the purchasing account,

✔ abandoned shopping carts.


For example, if a user abandons a shopping cart on your e-commerce store, the Webhooks Magento 2 extension sends an API request. Then the module sends a notification to the appropriate department for further consideration of the case and possible correction of the problem.


Moreover, with the help of the plugin, you can transfer data to CRM systems or an e-mail marketing program. It is able to automatically transmit new data to such external services without the need for employee involvement. Thus, the Mageplaza Webhooks module enables the establishment of an information flow between Magento 2 and any connected system, updating relevant data in real time.


You also gain full control over this process thanks to the capture logs (application logs). So you can monitor the effectiveness of all automation. Each error is carefully logged with the appropriate description, identifier, entity, etc. In addition, the module enables you and your administrators to receive email notification of API request errors. However, if you want to clear the resulting errors, you can set the maximum number of records and enable the auto-clean feature. It is also possible to resend a new request after fixing the error.



Using Webhooks in Magento 2 seems problematic to you? You don't have to deal with it yourself! We offer full programming support for the Magento platform. We will definitely choose the best solution for you and adapt it to your requirements.

We have been implementing e-commerce platforms to our clients' businesses for years. In this way, we help them spread their wings and improve the operation of the entire company. Choosing the right software is the basis for effective sales. This is an important issue for both the seller and the customer. The quick operation of the store, the possibility of multi-level browsing of products, adding them to favorites, verification of the shopping cart and many other aspects affect customers' purchasing decisions. It is on their basis that they decide or not to choose a given online store. That is why every website should be stable and efficient. After all, it represents your brand. So it's safe to say that deciding which hosting platform to choose is the most important step and a key element in running your business.

Read More

The COVID-19 pandemic has impaired normal functioning in almost every sphere of life. During the stricter sanitary regime and the stay-at-home order, many of us felt the unpleasant consequences of being confined. It contributed to the deterioration of our well-being and the overall quality of life, which we tried to improve in various ways. For many of us, online shopping has become not only a pleasure, but also a necessity. It also found that e-commerce has quickly become the only purchasing option for millions of consumers and businesses that have been forced to adapt to the new situation. Data collected during this hot period by Adobe Analytics indicates that in March 2020, overall e-commerce in the US increased by as much as 25% compared to the previous year. Magento, on the other hand, noted that the site traffic of Magento Commerce sellers worldwide has increased by an average of 30% over the same period, nearly reaching levels typically seen for Black Friday and Cyber ​​Monday.

Read More

Before you start the data migration process from the previous version of Magento to Magento 2, please note that it is not a simple process like dragging and dropping folders. Data migration is a key stage in the transfer process. To do it, you need to have sufficient technical knowledge and extensive experience. Only it will help you react quickly to the possibility of loss of database resources, in particular customer data and product data. What's more, only real knowledge will allow you not to make mistakes and even be aware that the content of your blog, meta descriptions and customer orders should be transferred inextricably.

Read More

The global COVID-19 pandemic has left its mark on the world of business. The numerous limitations faced by business owners have particularly emphasized the special importance of digital space in the modern economy. Thanks to streamlined processes, sellers can quickly and efficiently adapt to new market conditions. Therefore, they easily modify the strategies operating so far and do not abandon the overriding goal, which is to meet the needs and expectations of their customers. To make it easier for them, Magento Commerce rushes to help you in difficult times of limited resources.


What's new in Magento?

If you run your own business, making your customers happy is certainly your priority. So you invest in the right tools, design interesting shopping experiences, and take care of the high value of the products offered. All other brands in the world work similarly. Both small businesses and large organizations are constantly looking for ways to deliver rich content and relevant shopping experiences to their audiences. Of course, this is of particular importance in the online sphere, where direct contact with the customer is very limited. So you have to look for other ways to build a relationship with the client than personal charm. To make it easier for you, Magento has prepared a great solution for its recipients.


One of the most important issues is launching a website dedicated to business acceleration. It includes a wealth of best practice tips and resources from across the global ecosystem to help retailers survive this unquestionably difficult period and achieve their intended success.


The new, improved version of Magento Commerce introduces features that improve various possibilities, including taking care of the safety and efficiency of e-commerce businesses. Thanks to them, sellers are able to achieve profits, but also provide their customers with an extraordinary shopping experience. This is an especially important issue in these uncertain times. It is worth observing it carefully and reacting to rapidly changing sales conditions around the world.


What new functionalities appear in Magento Commerce 2.3.5?

Among the introduced changes, it is worth focusing on those that bring the greatest results when working with the customer of the store. Therefore, if you are the recipient of the Magento Commerce offer, you get:


  • The ability to work with artificial intelligence. It will help you develop your e-business more effectively. By integrating Adobe Sensei with the new Product Recommendations feature, the process of delivering a more relevant experience to your customers during their shopping journey in your store has been automated. You can choose the products directly for the user and easily place them in the right place to be sure that he will pay attention to them.
  • The ability to offer more efficient content creation and reuse across a wide variety of sites. You can do it with the help of the Website Builder. This is where you will find templates in which you can save previously created content and their layouts. Thanks to this, you will save time and resources on creating new descriptions from scratch. You can use templates to quickly launch new pages or to create additional localized sites without having to write everything from scratch. Moreover, as companies put more effort into communicating with their customers during a pandemic to inform them of the COVID-19 transaction status, templates allow you to quickly create a basic structure suitable for each of your brands, save it, and then use in the indicated place. Of course, each template of this type can be customized according to your brand's visual identity.
  • Access to the Amazon Sales Channel extension for a faster and easier onboarding process. In addition to the new user interface with a modern design that guarantees readability and clarity of website navigation, you get the option of linking your Magento store with an Amazon seller account. This operation is also extremely easy and you can certainly cope with it without much experience in configuring this type of settings.


You can download the new version of Magento Commerce extensions from the Magento Marketplace. You can find the user manual on the service provider's website in the User's Guide. Remember that the new scenario deployment process for Magento Commerce is hosted in a cloud infrastructure. In the new version, all basic payments except PayPal have also been withdrawn. If you want to learn more about the functioning of Magento Commerce 2.3.5., Please contact us - we will certainly help you dispel any doubts!

Companies present on the Internet are constantly looking for solutions that will help them stand out above their competition and guarantee their customers the best possible experience in contact with their brand. Today, it is an issue that comes to the fore in particular, because sellers must adapt to the needs of recipients as much as possible, empathize with their situation and meet their expectations with the products offered and thanks to the friendly message of the entire brand. How does Magento Commerce help in achieving this goal?

Read More is one of the largest online stores on the Polish market with a wide range of unique home and office furniture, as well as accessories and decorations.

Read More

The sales platform is the most important in running an online business, especially in the case of e-commerce. It is thanks to it that you sell your goods, acquire customers and develop the entire enterprise. Without a proper sales service, it is not possible to run a fully online business.


A properly designed sales platform responds to dynamically changing customer needs. Its purpose is not only to present and sell the assortment, but also to guarantee users satisfaction with their purchases and encourage to make them again. It is thanks to the intuitive, simple and user-friendly platform that disposable customers become systematic, who will be happy to recommend the store to their friends. For this reason, from the very beginning of setting up the website, you need to pay attention to its appropriate adaptation. On the other hand, in the case of modernizing an existing platform, it is worth taking a look at the functions that will make shopping and all related operation much easier than before.


We used these types of strategies while working on the ŚWIATŁOLUX platform. First of all, we focused on adding new functionalities that facilitate navigation and orientation in the company's assortment from the customer's perspective, and guarantee the website owners a fully modern and profitable platform. See what the implemented changes are and what are the effects of our work!

Read More

Competitive prices don't always matter in trade. Stores can encourage customers to buy products with exceptional customer service or product quality. How does it look in e-commerce? If there is no physical service, it must be replaced by a comfortable and responsive interface, and due to the lack of tangible quality verification, a sophisticated product information system should be built.


So you should ask yourself - does my e-commerce business meet the expectations of a potential customer? If not - what can I do to keep up or outperform the competition?


The modern buyer is a demanding customer to whom the sales strategy and special offers should be adjusted. The flexible Magento platform comes with help. No matter if you run B2B or B2C business - transformation is advisable if you require a reliable and solid base for your store.

Magento platform

Read More is one of the largest Polish online stores with indoor and outdoor lighting. On the website you can also find inspiration and unusual solutions perfect for even the most demanding customers.

Read More

What is the main distinguishing feature of Magento Commerce? It is certainly a community creating a peculiar ecosystem, consisting of partners and programmers who support and constantly expand the sales platform. Thanks to this configuration of work, the tool is developed with new functions, and the originators themselves can be called the driving force of innovation, because it is often on their initiative that plans to introduce further solutions appear, significantly facilitating work in online sales.


One of the innovators can certainly include Accorin - a branch of Riddle & Bloom and Magento Business Solution Partner, which offers a full range of services with headquaters in Boston, USA. How do they work? They used their talents primarily to develop new approval options for their workflow B2B customers, while meeting the common requirements for all purchases in the B2B sector.


Read More

The size of the global e-commerce market has increased significantly over the last decade. Not only could you notice new solutions that make life easier for customers, sellers, marketers and programmers, but also ever-evolving systems that already have a place on the market, such as Magento. After the release of the second version, new updates are gradually changing the standard online sales algorithm.

Magento 2.3.4

Read More
  1. 1
  2. 2
  3. 3
  4. 4
  5. 5