Django demo
The Django demo turns Afterglow Sessions into a complete ticket-reservation flow. Django validates the guest, creates a finalized digital-ticket order on the server, and redirects the browser to Inttegro Checkout.
About the app
Afterglow Sessions is a direct ticket storefront for an event organizer. Guests can understand the event, reserve a place, and move into payment through one clear journey.
For the organizer, the app turns interest into a confirmed ticket sale without requiring staff to manage reservations and payment as separate tasks. The organizer keeps the event experience while Inttegro provides the checkout.
Connect your MCP client and ask MCP to adapt this ticket flow to your Django application. It can turn the commerce journey into an implementation and test plan before you copy framework code.
What it demonstrates
- A Django 5.2 form and view boundary for guest ticket checkout
- Typed order construction with the Inttegro Python SDK
- A
303handoff to the hosted URL returned by Inttegro - Stable public errors and server-held correlation without exposing API details
Run the demo
Use a Python virtual environment, install the pinned requirements, provide the server-side environment values, and start Django. The released README contains the exact commands and focused test invocation.
Follow the integration
checkout/service.pybuilds the typed order and maps SDK failures to safe application errors.checkout/views.pyvalidates the form, preserves correlation, and performs the checkout handoff.
Production boundary
Keep the Inttegro API key in the Django server environment. Persist your own booking and Inttegro order IDs together, then verify payment state from the server before issuing a ticket.