💳 Demoing the Payment Request API with moltin
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
build
config
src
static
.babelrc
.editorconfig
.eslintignore
.eslintrc.js
.gitignore
.postcssrc.js
README.md
index.html
package.json
server.js

README.md

moltin-paymentrequest-api

💳 Demoing the Payment Request API with moltin

Using

Add your client_id to config/prod.env.js:

// config/prod.env.js
module.exports = {
  NODE_ENV: '"production"',
  MOLTIN_CLIENT_ID: '"xyz"'
}

👉 Try out the demo.

Note: This demo will only work in browsers with support (Chrome 61+, Edge 15+) for the Payment Request API.

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

For detailed explanation on how things work, checkout the guide and docs for vue-loader.