deekoder / stripe-payment-intents

Learning how to use Stripe APIs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pre-Requisites

  • Working Go 1.14 and up environment set up. Setup here if you don't have one.
  • Install Stripe CLI. If you need this install it from here.

Running the Server

  • Get the source code by doing git clone git@github.com:deekoder/stripe-payment-intents.git
  • In the stripe-payment-intents directory type go run server.goto start the middleware.

Stripe CLI for WebHooks

  • stripe login complete the login on your browser.
  • stripe listen --forward-to http://localhost:3000/webhook to observe events from the go server running at localhost:3000

Accessing the Site on a Browser

tests

  • Enter various Test Cards. Test cards are available here.

Friction Log

About

Learning how to use Stripe APIs


Languages

Language:Go 37.6%Language:JavaScript 26.3%Language:CSS 23.3%Language:HTML 12.8%