PHPackages                             stock2shop/magento2\_module\_webhook - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. stock2shop/magento2\_module\_webhook

ActiveMagento2-module[API Development](/categories/api)

stock2shop/magento2\_module\_webhook
====================================

The module sends new order's data to a specified URL in a JSON format.

1.2.1(1y ago)14.5k↓33.3%2[2 issues](https://github.com/stock2shop/magento2_module_webhook/issues)MITPHP

Since Aug 10Pushed 1y ago6 watchersCompare

[ Source](https://github.com/stock2shop/magento2_module_webhook)[ Packagist](https://packagist.org/packages/stock2shop/magento2_module_webhook)[ Docs](https://github.com/stock2shop/magento2_module_webhook)[ RSS](/packages/stock2shop-magento2-module-webhook/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)DependenciesVersions (19)Used By (0)

The module sends a new order's data to a specified URL in a JSON format.

How to install
--------------

[](#how-to-install)

```
bin/magento maintenance:enable
composer require stock2shop/magento2_module_webhook:*
bin/magento setup:upgrade
rm -rf pub/static/* && bin/magento setup:static-content:deploy en_US
rm -rf var/di var/generation generated/code && bin/magento setup:di:compile
bin/magento maintenance:disable

```

How to update
-------------

[](#how-to-update)

```
bin/magento maintenance:enable
composer update stock2shop/magento2_module_webhook
bin/magento setup:upgrade
rm -rf pub/static/* && bin/magento setup:static-content:deploy en_US
rm -rf var/di var/generation generated/code && bin/magento setup:di:compile
bin/magento maintenance:disable

```

Backend settings
----------------

[](#backend-settings)

[![](https://camo.githubusercontent.com/88841d2a373fe85c51384c153a0530534a92a2741391c3dc3cc962e795307004/68747470733a2f2f6d616765322e70726f2f75706c6f6164732f64656661756c742f6f726967696e616c2f32582f352f356463363438333336396433363238363838303932633039386464326362343264323864306463652e706e67)](https://camo.githubusercontent.com/88841d2a373fe85c51384c153a0530534a92a2741391c3dc3cc962e795307004/68747470733a2f2f6d616765322e70726f2f75706c6f6164732f64656661756c742f6f726967696e616c2f32582f352f356463363438333336396433363238363838303932633039386464326362343264323864306463652e706e67)

An order's history
------------------

[](#an-orders-history)

[![](https://camo.githubusercontent.com/3a13a3c3afa182605dd86f2a4bddbcb2716bdf777643947b33326bb21418dbe6/68747470733a2f2f6d616765322e70726f2f75706c6f6164732f64656661756c742f6f726967696e616c2f32582f382f383661326162326336646261323134633232396231386233646461333838656465656561383131392e706e67)](https://camo.githubusercontent.com/3a13a3c3afa182605dd86f2a4bddbcb2716bdf777643947b33326bb21418dbe6/68747470733a2f2f6d616765322e70726f2f75706c6f6164732f64656661756c742f6f726967696e616c2f32582f382f383661326162326336646261323134633232396231386233646461333838656465656561383131392e706e67)

Data example
------------

[](#data-example)

```
{
    "base_currency_code": "USD",
    "base_discount_amount": 0,
    "base_discount_tax_compensation_amount": 0,
    "base_grand_total": 105,
    "base_shipping_amount": 5,
    "base_shipping_discount_amount": 0,
    "base_shipping_discount_tax_compensation_amnt": 0,
    "base_shipping_incl_tax": 5,
    "base_shipping_tax_amount": 0,
    "base_subtotal": 100,
    "base_subtotal_incl_tax": 100,
    "base_tax_amount": 0,
    "base_to_global_rate": 1,
    "base_to_order_rate": 1,
    "base_total_due": 105,
    "billing_address": {
        "address_type": "billing",
        "city": "New York City",
        "company": "Mage2.PRO",
        "country_id": "US",
        "customer_address_id": 1,
        "email": "admin@mage2.pro",
        "firstname": "Dmitry",
        "lastname": "Fedyuk",
        "postcode": "10001",
        "quote_address_id": "13",
        "region": "New York",
        "region_id": 43,
        "street": "49 West 32nd Street",
        "telephone": "+1 (212) 736-3800"
    },
    "created_at": "2018-08-11 17:18:30",
    "customer": {
        "created_at": "2018-08-10 15:16:55",
        "created_in": "Default Store View",
        "default_billing": "1",
        "default_shipping": "1",
        "disable_auto_group_change": "0",
        "email": "admin@mage2.pro",
        "entity_id": "1",
        "failures_num": "0",
        "firstname": "Dmitry",
        "group_id": "1",
        "is_active": "1",
        "lastname": "Fedyuk",
        "password_hash": "7916da30aa9a40476115244956220b001d723f5b17b2e5475467cd83c247d688:UYz7RVCPATEDrsRrz7Er7xMBzN5RwkGP:1",
        "rp_token": "5705c1d8103fad5797842f11a0794df5",
        "rp_token_created_at": "2018-08-10 15:16:56",
        "store_id": "1",
        "updated_at": "2018-08-10 15:21:12",
        "website_id": "1"
    },
    "customer_email": "admin@mage2.pro",
    "customer_firstname": "Dmitry",
    "customer_group_id": 1,
    "customer_id": "1",
    "customer_is_guest": 0,
    "customer_lastname": "Fedyuk",
    "customer_note_notify": 1,
    "discount_amount": 0,
    "discount_tax_compensation_amount": 0,
    "entity_id": "7",
    "global_currency_code": "USD",
    "grand_total": 105,
    "id": "7",
    "increment_id": "000000007",
    "is_virtual": 0,
    "line_items": [
        {
            "image": "https://localhost.com:737/pub/media/catalog/product/cache/afad95d7734d2fa6d0a8ba78597182b7/c/a/cat03.jpg",
            "name": "Cat",
            "price": 100,
            "price_with_discount": 100,
            "price_with_discount_and_tax": 100,
            "price_with_tax": 100,
            "qty": 1,
            "tax_rate": 0,
            "url": "https://localhost.com:737/cat.html"
        }
    ],
    "order_currency_code": "USD",
    "payment": {
        "additional_information": {
            "method_title": "Check / Money order"
        },
        "amount_ordered": 105,
        "base_amount_ordered": 105,
        "base_shipping_amount": 5,
        "method": "checkmo",
        "shipping_amount": 5
    },
    "protect_code": "c1b0b856b1eecece75ce91b89b33dcc8",
    "quote_id": "3",
    "remote_ip": "127.0.0.1",
    "shipping_address": {
        "address_type": "shipping",
        "city": "New York City",
        "company": "Mage2.PRO",
        "country_id": "US",
        "customer_address_id": "1",
        "email": "admin@mage2.pro",
        "firstname": "Dmitry",
        "lastname": "Fedyuk",
        "postcode": "10001",
        "quote_address_id": "8",
        "region": "New York",
        "region_id": "43",
        "street": "49 West 32nd Street",
        "telephone": "+1 (212) 736-3800"
    },
    "shipping_amount": 5,
    "shipping_description": "Flat Rate - Fixed",
    "shipping_discount_amount": 0,
    "shipping_discount_tax_compensation_amount": 0,
    "shipping_incl_tax": 5,
    "shipping_method": "flatrate_flatrate",
    "shipping_tax_amount": 0,
    "state": "new",
    "status": "pending",
    "store_currency_code": "USD",
    "store_id": 1,
    "store_name": "Main Website\r\nMain Website Store\r\nDefault Store View",
    "store_to_base_rate": 0,
    "store_to_order_rate": 0,
    "subtotal": 100,
    "subtotal_incl_tax": 100,
    "tax_amount": 0,
    "total_due": 105,
    "total_item_count": 1,
    "total_qty_ordered": 1,
    "updated_at": "2018-08-11 17:18:30",
    "visitor": {
        "http_user_agent": "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36",
        "remote_addr": "92.243.166.8"
    },
    "weight": 400
}

```

###  Health Score

37

—

LowBetter than 82% of packages

Maintenance26

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 61.5% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~140 days

Recently: every ~588 days

Total

18

Last Release

450d ago

Major Versions

0.0.7 → 1.0.02018-08-11

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/24826606?v=4)[Stock2Shop](/maintainers/stock2shop)[@stock2shop](https://github.com/stock2shop)

![](https://www.gravatar.com/avatar/853c236d285020a6c6708e6ad03a9fef5862b521b09403908d96194ac26e5267?d=identicon)[Matt Hampton](/maintainers/Matt%20Hampton)

---

Top Contributors

[![dmitrii-fediuk](https://avatars.githubusercontent.com/u/83204?v=4)](https://github.com/dmitrii-fediuk "dmitrii-fediuk (24 commits)")[![Keenan-Faure](https://avatars.githubusercontent.com/u/97687673?v=4)](https://github.com/Keenan-Faure "Keenan-Faure (7 commits)")[![matthampton-stock2shop](https://avatars.githubusercontent.com/u/124143173?v=4)](https://github.com/matthampton-stock2shop "matthampton-stock2shop (5 commits)")[![flumonion](https://avatars.githubusercontent.com/u/1546805?v=4)](https://github.com/flumonion "flumonion (3 commits)")

---

Tags

magento 2

### Embed Badge

![Health badge](/badges/stock2shop-magento2-module-webhook/health.svg)

```
[![Health](https://phpackages.com/badges/stock2shop-magento2-module-webhook/health.svg)](https://phpackages.com/packages/stock2shop-magento2-module-webhook)
```

###  Alternatives

[mollie/magento2

Mollie Payment Module for Magento 2

1121.6M10](/packages/mollie-magento2)[mollie/magento

iDEAL, Creditcard, Bancontact/Mister Cash, SOFORT, Bank transfer, Bitcoin, PayPal &amp; paysafecard for Magento https://www.mollie.com/

397.9k](/packages/mollie-magento)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
