This app verify license key from a Gumroad product and return a response to a external app.
API reference: https://app.gumroad.com/api#licenses
$ cd gumroad-nodejs
$ npm install
Rename .env_sample file to .env and replace value for each variable.
Once you've created a project and installed dependencies with npm install
, start a development server:
$ npm run dev
If you want to receive webhooks from Gumroad you need these two things.
- You need to have acces to a public URL to receive webhooks ex: http://myserver.com:3900/hook. If you don't want to deploy this project on a server you can use https://ngrok.com/
- Go to your advanced settings in gumroad and add your url into the ping endpoint field.