Skip to content
This repository was archived by the owner on Apr 19, 2022. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions server/python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ Run `pip install` to fetch the Python packages we use:
pip install -r requirements.txt
```

Export our Flask app and run!
Export our Flask app and run from the root!

```
export FLASK_APP=./app.py
export FLASK_APP=server/python/app.py
flask run
```

Expand Down
2 changes: 1 addition & 1 deletion server/python/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def update_payment_intent(id):
return jsonify(e), 403

@app.route('/payment_intents/<string:id>/update_currency', methods=['POST'])
def update_payment_intent(id):
def update_payment_intent2(id):
data = json.loads(request.data)
currency = data['currency']
paymentMethods = data['payment_methods']
Expand Down
6 changes: 3 additions & 3 deletions server/python/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,19 @@ gunicorn==19.7.1
idna==2.6
idna-ssl==1.1.0
itsdangerous==0.24
Jinja2==2.10.1
Jinja2==2.11.3
livereload==2.5.1
MarkupSafe==1.0
more-itertools==4.1.0
multidict==4.1.0
pluggy==0.6.0
py==1.5.3
py==1.10.0
pytest==3.5.0
python-dotenv==0.8.2
requests==2.20
six==1.11.0
stripe==2.12.0
tornado==5.0.2
urllib3==1.24.2
urllib3==1.26.5
Werkzeug==0.16.0
yarl==1.1.1