Moibe commited on
Commit
6cf88b8
·
1 Parent(s): 99fa7ef

Fastapi Ready OK!

Browse files
Files changed (1) hide show
  1. main.py +3 -1
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
- webhook_secret = os.environ["STRIPE_WEBHOOK_SECRET"]
 
 
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