processBooking(event: EventWithCount,contact: ContactInfo,quantity: number,date: string | null,baseUrl: string,customUnitPrice?: number,): Promise<BookingResult>
Process a single-event booking.
Determines whether payment is needed, then either:
- Creates a checkout session (paid) or
- Atomically creates an attendee (free)
Promise<BookingResult>