2017 © Pedro Peláez
 

magento2-module magento2-order-api

Event call API when order successfully

image

phucct/magento2-order-api

Event call API when order successfully

  • Tuesday, May 29, 2018
  • by phucct
  • Repository
  • 2 Watchers
  • 2 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

magento2-order-api

Description

Integrate Magento 2 with a logistics system, (*1)

  1. Orders When order placed, create event on sales_order_place_after , (*2)

    • On this observer get order information
    • Create function to generate data to xml
    • Send request to Logistic System
    • Get response return magento from logistics system
  2. Order Status When order shipped, create event on sales_order_shipment_save_after , (*3)

    • On this observer get order and shipment information
    • Create function to generate data to xml
    • Send request to Logistic System
    • Get response return magento from logistics system

Installation

```shell, (*4)

You must be in Magento root directory

composer require phucct/magento2-order-api:dev-master php bin/magento cache:clean php bin/magento setup:upgrade, (*5)

Execute setup:di:compile only if the store is in production mode

php bin/magento setup:di:compile, (*6)

The Versions

29/05 2018

dev-master

9999999-dev

Event call API when order successfully

  Sources   Download

The Requires

  • php ~5.5.0|~5.6.0|~7.0.0|~7.1.0

 

by Phuc Chu Tien