- This is not an official sample. This code is not affiliated with, endorsed, or sponsored by Google.
- The
server.js
is heavily based on instantbuy_server.rb from the instantbuy-quickstart-ruby project. - The
index.html
is heavily based on _index.html from the instantbuy-quickstart-ruby project.
- You must have the following values from the Google API console:
MERCHANT_ID
MERCHANT_SECRET
MERCHANT_NAME
CLIENT_ID
- You must have Node.js installed. The sample was tested with
v0.10.29
. You can check the version with:node -v
.
- Clone this github repository
- Update the
CONSTANTS
variable insideserver.js
. - Run
npm install
to install dependencies - Run
node server.js
- Visit
http://localhost:3000