Skip to content

WcAServices/atshop-watch-orders

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ATShop Order Watcher

Watch for paid orders and log them to the console.

Prerequisites

  • Node.js v10+

Setup

  1. Clone the repository.
git clone https://github.com/WcAServices/atshop-watch-orders.git
  1. Install dependencies.
npm i
  1. Compile to JavaScript.
npm run build
  1. Add your shopId and login token to config/local.json
{
  "shopId": "xARqw8mo...", // Your shopId
  "loginToken": "9pEzjkpU84RU..." // Your Meteor login token.
}

See docs.atshop.io for more info on this.

Running the watcher

node dist

Whenever an order is paid you'll see the order's details printed to the console.

Example image

License

This repository is licensed under the ISC license.

Copyright (c) 2019, WCA DEV SERVICES SRL.

About

Log paid ATShop orders to the console.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published