https://github.com/faruktoptas/node-androidpublisher-api
A simple node.js app to verify In-App purchase token via Google Play Developer api
https://github.com/faruktoptas/node-androidpublisher-api
Last synced: 7 months ago
JSON representation
A simple node.js app to verify In-App purchase token via Google Play Developer api
- Host: GitHub
- URL: https://github.com/faruktoptas/node-androidpublisher-api
- Owner: faruktoptas
- License: apache-2.0
- Created: 2020-10-08T11:05:46.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2020-10-08T11:18:28.000Z (about 5 years ago)
- Last Synced: 2025-01-13T19:39:29.338Z (9 months ago)
- Language: JavaScript
- Size: 14.6 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# node-androidpublisher-api
A simple node.js app to verify In-App purchase token via Google Play Developer api## Usage
Replace `api.json` with your own json key.```
npm install
node app.js
```Navigate to http://localhost:3000/?token={PURCHASE_TOKEN}
Output response:
```
{"state": 0}
```The purchase state of the order. Possible values are: 0. Purchased 1. Canceled 2. Pending
For more details about the api response see: https://developers.google.com/android-publisher/api-ref/rest/v3/purchases.products#ProductPurchase