Fred808 commited on
Commit
319997d
·
verified ·
1 Parent(s): c1f81a7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -724,7 +724,7 @@ async def payment_callback(request: Request):
724
  f"Payment Update:\nOrder ID: {order_id} is now {status}."
725
  )
726
  # Redirect user back to the chat interface (adjust URL as needed)
727
- redirect_url = f"https://yourdomain.com/chat?order_id={order_id}&status=success"
728
  return RedirectResponse(url=redirect_url)
729
  # POST: Server-to-server callback from Paystack
730
  else:
 
724
  f"Payment Update:\nOrder ID: {order_id} is now {status}."
725
  )
726
  # Redirect user back to the chat interface (adjust URL as needed)
727
+ redirect_url = f"https://fred808-botpy-808.hf.space/chat?order_id={order_id}&status=success"
728
  return RedirectResponse(url=redirect_url)
729
  # POST: Server-to-server callback from Paystack
730
  else: