🦋🤖 Forward receipt to customer from order page (#2375)#2377
Conversation
Tirodem
commented
Feb 5, 2026
- Employees can now forward a receipt to a customer directly from the order page
- Available on paid orders only, for both classic POS and POS Touch
- Supports sending via email (sends the order.paid email) or Nostr DM (sends ticket content + order link)
- Inline form with contact address input (email or Nostr npub), same pattern as the RSVP form
- Success confirmation displayed after forwarding
|
@gntw @roosemberth Either vibefix or vibeprototype, depending of your's review feedbacks. Pilot's request. QA is OK ✅ |
|
@Tirodem got a questsion about the Nostr DM content in forwardReceipt: currently the DM sent to the customer only contains a link — Order #N receipt: . The original issue description mentions "the customer receives a DM with the ticket content and order link". Is this intentional to keep it minimal (just the link), or should we include more order details in the DM (items, total amount, payment method etc.)? |
|
yeah, I changed the behavior after test-exploring. Trying to recreate the
ticket on nostr dm was a bad idea, sending the link is better. In the
future when implemented we'll use the order.paid nostr template instead,
and for now we'll send the link.
Le ven. 13 févr. 2026, 11:11, Vadim ***@***.***> a écrit :
… *gntw* left a comment (be-BOP-io-SA/be-BOP#2377)
<#2377 (comment)>
@Tirodem <https://github.com/Tirodem> got a questsion about the Nostr DM
content in forwardReceipt: currently the DM sent to the customer only
contains a link — Order #N receipt: . The original issue description
mentions "the customer receives a DM with the ticket content and order
link". Is this intentional to keep it minimal (just the link), or should we
include more order details in the DM (items, total amount, payment method
etc.)?
—
Reply to this email directly, view it on GitHub
<#2377 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AL7BKPVI2RPVNPYNKSW3CTD4LWPLRAVCNFSM6AAAAACUDQ2WHWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTQOJWGI3DONJZGU>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
e7f2284 to
69366e7
Compare
69366e7 to
6136da9
Compare
|
Filling partial npub = |
6136da9 to
f3fb5aa
Compare
roosemberth
left a comment
There was a problem hiding this comment.
I'm not a fan of introducing behaviour in “Various code grooming” commits:
- The refactor and added permission check in this change is a band-aid.
- We hid new behavior in a “grooming” commit, if we find this behaviour to be faulty, it will waste people's time to figure out the extent of the problem.
Please move this to a separate commit.
If we are going to merge all of this, then we probably wanted to squash it into one commit, as we do it in most of our pull requests? There are currently five commits in the branch, and I don't see much point in keeping them separate. I agree, the topic of my commit is ridiculous, but I thought that after the review I would squash all these commits into one so as not to clutter up the main branch. And then I could write a normal description for this single commit. @roosemberth is that ok ? |
94a30c7 to
26bba52
Compare
Add a "Forward receipt" CTA on paid order pages (staff only). On click, an inline form allows entering an email or Nostr npub. - Email: sends the order.paid email template - Nostr npub: sends a DM with ticket content and order link Confirmation feedback displayed after forwarding. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
26bba52 to
1b6c7e3
Compare
