Spaces:
Sleeping
Sleeping
Fastapi Ready OK!
Browse files
main.py
CHANGED
|
@@ -26,7 +26,9 @@ def start():
|
|
| 26 |
|
| 27 |
@app.post("/webhook")
|
| 28 |
async def webhook_received(request: Request, stripe_signature: str = Header(None)):
|
| 29 |
-
|
|
|
|
|
|
|
| 30 |
|
| 31 |
print("Entré al webhook...")
|
| 32 |
|
|
|
|
| 26 |
|
| 27 |
@app.post("/webhook")
|
| 28 |
async def webhook_received(request: Request, stripe_signature: str = Header(None)):
|
| 29 |
+
|
| 30 |
+
#Local on Windows
|
| 31 |
+
#webhook_secret = os.environ["STRIPE_WEBHOOK_SECRET"]
|
| 32 |
|
| 33 |
print("Entré al webhook...")
|
| 34 |
|