ViktorNova / payment-taker

A basic payment page so that people can pay for things online

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Payment taker program

This app is here to allow for people to accept online payments via Stripe.

Oddities

Env mess

Vue has it's own env and so does go. That's not that fun. Make sure that you put your stripe testing key in both .env and ./payment-vue/.env. When the vue app gets built for prod, make sure you reference the stripe key from the Go env file. To do this, make sure you have a file named .env.production in the vue app folder, and that the key VUE_APP_STRIPE_PUB_KEY is set to this: {{ .StripePublicKey }}

Node dev server

If you want to run the node dev server, make sure you visit the app at the sub folder address. On my machine, that's this: http://localhost:8080/static/

About

A basic payment page so that people can pay for things online

License:MIT License


Languages

Language:Vue 39.3%Language:Go 38.5%Language:Smarty 7.8%Language:HTML 5.9%Language:Shell 5.9%Language:JavaScript 2.6%