Send NIP-17 check-in details to guest on confirmation #5

Closed
opened 2026-07-18 22:19:55 +00:00 by padreug · 0 comments
Owner

On payment, tasks.py:on_invoice_paid republishes the encrypted kind:30078 reservation object but does not send the practical check-in info. Marked TODO(checkin).

Work

  • After a booking flips to confirmed, send a NIP-59 giftwrapped DM to booking.guest_pubkey with: address, gate/access code, settings.checkin_time / checkout_time, and any settings.cancellation_policy reminder.
  • Source the sensitive fields from room/settings (add fields if needed — e.g. per-room access instructions).
  • Depends on relay publish plumbing (sibling issue).

Acceptance

Paying a booking delivers a private, NIP-44-encrypted check-in DM the guest can decrypt.

On payment, `tasks.py:on_invoice_paid` republishes the encrypted `kind:30078` reservation object but does **not** send the practical check-in info. Marked `TODO(checkin)`. ### Work - [ ] After a booking flips to `confirmed`, send a NIP-59 giftwrapped DM to `booking.guest_pubkey` with: address, gate/access code, `settings.checkin_time` / `checkout_time`, and any `settings.cancellation_policy` reminder. - [ ] Source the sensitive fields from room/settings (add fields if needed — e.g. per-room access instructions). - [ ] Depends on relay publish plumbing (sibling issue). ### Acceptance Paying a booking delivers a private, NIP-44-encrypted check-in DM the guest can decrypt.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
aiolabs/chatelet#5
No description provided.