graciousstudios/interconnect-magento2

Webhook module for Magento2 that channels data to the Gracious Interconnect webservice which in turn formats and proxies the data to connected consumer services

1.1.4 2018-10-03 08:27 UTC

This package is auto-updated.

Last update: 2021-11-29 21:34:47 UTC


README

The Gracious Studios Interconnect module for Magento 2 channels event data to the Gracious Interconnect webservice which in turn formats the data and proxies it to connected consumer services. At this point the only connected consumer is Copernica. More consumers will be connected in the future.

Event data is automatically channeled to the web service but the module also comes with 4 console commands to synchronize data manually. These console commands are:

  • 'interconnect:synccustomer' : Synchronizes a customer by providing the --id={customerId} parameter
  • 'interconnect:syncorder' : Synchronizes an order by providing the --id={orderId} parameter
  • 'interconnect:syncquote' : Synchronizes a quote by providing the --id={quoteId} parameter
  • 'interconnect:syncsubscriber' : Synchronizes a subscriber by providing the --id={subscriberId} parameter

To get the module up and running:

  • Install the module using composer. It will be installed in the vendor folder.
  • Run "./bin/magento setup:upgrade" (without the quotes) from the commandline in the root folder of the Magento installation. This will install the module.
  • Run "./bin/magento setup:di:compile" (without the quotes) from the commandline in the root folder of the Magento installation. This will configure the dependency injection.
  • In the backend of the webshop, go to Stores > Configuration from the main menu and click on 'General Settings' under 'Interconnect' in the configuration menu. You will have to enter the url for the Interconnect webservice here and provide a prefix for your application. Let's say you web shop is called 'ProShop'; your prefix could be 'PS' for example. Also provide your api key for the Interconnect webservice. This is required for authentication. Now click 'Save'. The module is now configured.

In order to use this module completely you will need to have an account for the Gracious Interconnect webservice. Please contact info@graciousstudios.nl for more information, further integrations and other possibilities. Use 'Interconnect' for your email subject.