jmaloney/bagistohubexport

There is no license information available for the latest version (dev-master) of this package.

Export bagisto orders to hub

dev-master 2019-08-14 13:23 UTC

This package is auto-updated.

Last update: 2024-05-15 00:33:23 UTC


README

$ composer require jmaloneytrevetts/bagistohubexport

$ composer require laravel/slack-notification-channel

$ composer dump-autoload

In config/app.php add under providers: jmaloneytrevetts\bagistohubexport\BagistoHubExportServiceProvider::class

Other dependencies: composer require laravel/slack-notification-channel

.env

Key Example Value
HUB_ADDRESS https://www.hub.com
HUB_API_KEY ”abcdefg123”
HUB_SHIP_METHOD_ID 2 [Look up equivalent id in hub tblshippingmethods]
SLACK_HOOK SLACK_HOOK=https://hooks.slack.com/services/abc123

Artisan Commands

Key Example Value
hub:export [orderID optional parameter]
hub:slacktest *tests slack integration with test message