Watch for paid orders and log them to the console.
- Node.js v10+
- Clone the repository.
git clone https://github.com/WcAServices/atshop-watch-orders.git
- Install dependencies.
npm i
- Compile to JavaScript.
npm run build
- 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.
node dist
Whenever an order is paid you'll see the order's details printed to the console.
This repository is licensed under the ISC license.
Copyright (c) 2019, WCA DEV SERVICES SRL.