Skip to content

Latest commit

 

History

History
44 lines (34 loc) · 948 Bytes

README.md

File metadata and controls

44 lines (34 loc) · 948 Bytes

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.