Integrates google pay with vue
src/components/GooglePay.vue
, there you can see all the implementation.
If you're using nuxt or some other platform, see how to add the google script to the head (The script in this project is in public/index.html
).
- node 10.x +
- npm
- On root of the folder create a archive
.env
with what's on.env.example
- If you want to test GooglePay on production, just change what's on
.env
with your production setups - Install the dependencies wth
yarn
ornpm i
- Run
yarn serve
ornpm run serve
to run the server - Open your localhost