diff --git a/src/modules/chatelet/components/BookRoomDialog.vue b/src/modules/chatelet/components/BookRoomDialog.vue
new file mode 100644
index 0000000..eccdb5d
--- /dev/null
+++ b/src/modules/chatelet/components/BookRoomDialog.vue
@@ -0,0 +1,332 @@
+
+
+
+
+
diff --git a/src/modules/chatelet/composables/useBookingFlow.ts b/src/modules/chatelet/composables/useBookingFlow.ts
new file mode 100644
index 0000000..26e49fa
--- /dev/null
+++ b/src/modules/chatelet/composables/useBookingFlow.ts
@@ -0,0 +1,143 @@
+import { computed, onUnmounted, ref } from 'vue'
+import { toast } from 'vue-sonner'
+import { SERVICE_TOKENS, tryInjectService } from '@/core/di-container'
+import type { PaymentService } from '@/core/services/PaymentService'
+import type { ChateletApiService } from '../services/ChateletApiService'
+import type { BookingQuote, BookingRequest } from '../types/booking'
+
+const POLL_MS = 2000
+
+/**
+ * Drives one booking from request → invoice → paid. Modeled on events'
+ * useTicketPurchase: the backend holds the dates and returns a bolt11;
+ * this composable renders it (QR / copy / open-in-wallet / pay from the
+ * LNbits wallet) and polls settlement until the invoice is paid. The
+ * extension's paid-invoice listener is what confirms the booking
+ * server-side — the guest only needs to see "paid" to know the dates
+ * are theirs.
+ */
+export function useBookingFlow() {
+ // DI, never a direct import (workspace rule).
+ const api = tryInjectService(SERVICE_TOKENS.CHATELET_API)
+ const paymentService = tryInjectService(SERVICE_TOKENS.PAYMENT_SERVICE)
+
+ const quote = ref(null)
+ const qrCode = ref(null)
+ const isRequesting = ref(false)
+ const isPaymentPending = ref(false)
+ const isPaid = ref(false)
+ const copiedInvoice = ref(false)
+
+ let pollTimer: ReturnType | null = null
+
+ const paymentRequest = computed(() => quote.value?.payment_request ?? '')
+ const booking = computed(() => quote.value?.booking ?? null)
+
+ const userWallets = computed(() => paymentService?.userWallets ?? [])
+ const hasWalletWithBalance = computed(() => paymentService?.hasWalletWithBalance ?? false)
+ const isPayingWithWallet = computed(() => paymentService?.isProcessingPayment.value ?? false)
+
+ /** Hold the dates and get the invoice; starts the settlement poll. */
+ async function request(data: BookingRequest): Promise {
+ if (!api) return null
+ isRequesting.value = true
+ try {
+ const q = await api.requestBooking(data)
+ quote.value = q
+ try {
+ qrCode.value = paymentService ? await paymentService.generateQRCode(q.payment_request) : null
+ } catch (err) {
+ console.error('Error generating QR code:', err)
+ }
+ startPolling(q.payment_hash)
+ return q
+ } finally {
+ isRequesting.value = false
+ }
+ }
+
+ function startPolling(hash: string) {
+ stopPolling()
+ isPaymentPending.value = true
+
+ const check = async () => {
+ try {
+ const status = await api?.getPaymentStatus(hash)
+ if (status?.paid) {
+ isPaid.value = true
+ stopPolling()
+ }
+ } catch (err) {
+ // Transient network errors just mean "try again next tick".
+ console.error('Error checking booking payment status:', err)
+ }
+ }
+
+ void check()
+ pollTimer = setInterval(check, POLL_MS)
+ }
+
+ function stopPolling() {
+ if (pollTimer) {
+ clearInterval(pollTimer)
+ pollTimer = null
+ }
+ isPaymentPending.value = false
+ }
+
+ async function copyInvoice() {
+ if (!paymentRequest.value) return
+ try {
+ await navigator.clipboard.writeText(paymentRequest.value)
+ copiedInvoice.value = true
+ setTimeout(() => (copiedInvoice.value = false), 1500)
+ } catch {
+ // Insecure context / old browser — "Open in wallet" still works.
+ }
+ }
+
+ function openExternalWallet() {
+ if (paymentRequest.value) paymentService?.openExternalWallet(paymentRequest.value)
+ }
+
+ /** Pay from the logged-in user's LNbits wallet; the poll picks up settlement. */
+ async function payWithWallet() {
+ if (!paymentService || !paymentRequest.value) return
+ try {
+ await paymentService.payWithWallet(paymentRequest.value, booking.value?.deposit_sat, {
+ showToast: false,
+ })
+ } catch (err) {
+ toast.error(err instanceof Error ? err.message : 'Wallet payment failed')
+ }
+ }
+
+ function reset() {
+ stopPolling()
+ quote.value = null
+ qrCode.value = null
+ isPaid.value = false
+ copiedInvoice.value = false
+ }
+
+ onUnmounted(stopPolling)
+
+ return {
+ quote,
+ booking,
+ paymentRequest,
+ qrCode,
+ isRequesting,
+ isPaymentPending,
+ isPaid,
+ copiedInvoice,
+ userWallets,
+ hasWalletWithBalance,
+ isPayingWithWallet,
+ request,
+ copyInvoice,
+ openExternalWallet,
+ payWithWallet,
+ reset,
+ }
+}
diff --git a/src/modules/chatelet/views/ChateletDetailPage.vue b/src/modules/chatelet/views/ChateletDetailPage.vue
index 2000bdb..ae43195 100644
--- a/src/modules/chatelet/views/ChateletDetailPage.vue
+++ b/src/modules/chatelet/views/ChateletDetailPage.vue
@@ -1,6 +1,6 @@
@@ -138,12 +186,22 @@ async function onCheck() {
(≈ {{ result.quote_fiat }} {{ result.currency }})
-
+
Not available for those dates.
+
+