Skip to content
This repository has been archived by the owner on Apr 19, 2022. It is now read-only.

Commit

Permalink
Updated Python readme
Browse files Browse the repository at this point in the history
  • Loading branch information
adreyfus-stripe committed Mar 8, 2019
1 parent 8716b53 commit a0e288c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ This demo uses a simple [Flask](http://flask.pocoo.org/) application as the serv

## Payments Integration

- [`app.py`](app.py) contains the routes that interface with Stripe to create charges and receive webhook events.
- [`app.py`](app.py) contains the routes that interface with Stripe to create PaymentIntents and receive webhook events.
- [`setup.py`](setup.py) a simple setup script to make some fake Products and SKUs for our Stripe store.
- [`tests/tests.py`](tests/tests.py) some unit tests that test the logic of our heavier APIs like `/webhook`.
- [`test_data.py`](tests/tests.py) contains some hardcoded mocked responses to test with.
- [`inventory_manager.py`](stripe_lib.py) a minimal wrapper over the Stripe Python SDK that handles creating/fetching products and caluclating payment amounts from SKUs. You can override this class with your own product and order management system code.
- [`inventory.py`](stripe_lib.py) a minimal wrapper over the Stripe Python SDK that handles creating/fetching products and caluclating payment amounts. You can override this class with your own product and order management system code.

## Requirements

Expand Down

0 comments on commit a0e288c

Please sign in to comment.