Skip to content

usefomo/magento-2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

5eeae22 · Jan 10, 2020

History

26 Commits
Aug 24, 2019
Aug 23, 2019
Aug 23, 2019
Aug 30, 2019
Aug 23, 2019
Aug 23, 2019
Jan 10, 2020
Aug 13, 2019
Aug 24, 2019
Aug 13, 2019
Aug 26, 2019
Aug 23, 2019
Aug 23, 2019

Repository files navigation

Magento 2 Webhooks Module for fomo.com

Preview

This plugin provides webhooks for Magento 2 events, to be consumed by fomo.com.

Tested and working on v2.1, v2.2, and v2.3.

Getting Started

Upload to folder (you may need to create subfolders)

app/code/Fomo/Webhook

Add Fomo_Webhook to your app/etc/config.php

<?php
return array (
  'modules' => 
  array (
    //
    // Bunch of other modules
    // 
    'Fomo_Webhook' => 1,
  ),
);

Run database migrations

php bin/magento setup:upgrade

Supported Webhooks

Available now

  • Order created

Payload

  • first_name
  • last_name
  • email
  • city
  • province
  • country
  • subtotal
  • grandtotal
  • payment_method
  • product["id"]
  • product["price"]
  • product["type"]
  • product["qty"]
  • product["price"]

Contributing

Submit a pull request!