Skip to content
Open
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
4 changes: 4 additions & 0 deletions bindu/server/endpoints/payment_sessions.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,12 @@ async def start_payment_session_endpoint(
content={"error": "Agent manifest not configured"}, status_code=500
)

logger.debug("Starting payment session request")

session = app._payment_session_manager.create_session()

logger.info(f"Payment session created: {session.session_id}")

# Construct browser URL using app's base URL
browser_url = f"{app.manifest.url}/payment-capture?session_id={session.session_id}"

Expand Down