/stripe-payment-intents

Learning how to use Stripe APIs

Primary LanguageGo

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