Integrating With Stripe- Server Basics

Implement a Stripe web server with Flask, handling credit card charge requests, as your first step on the path to becoming a Stripe power user.

TM www.stripe.com The Stripe name and logos are trademarks of Stripe, Inc. or its affiliates in the U.S. and other countries.

A Next Level Intro

Suggested Practices

The MSA (Microservice Architecture):

Configuration Over Hard Coding:

RESTful API:

Do As I Say Not As I Do:

Implementation

Prerequisites:

  • A basic understanding of Python
  • Python installed on your machine (I’m using 3.7)
  • GitHub & Heroku accounts (for deployment purposes)

The Flask App:

Making It a Stripe Server:

Wrapping It All Up

1. Flask-CORS:

2. Gunicorn:

3. Heroku:

--

--

— Entrepreneur | Software Engineer | Adventurer — Owner, The Smith Team, LLC— https://twitter.com/marcus_thesmith

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store