Skip to content

fix: enforce resale and check-in rules - #728

Merged
Mercy017 merged 1 commit into
StellarTickets:mainfrom
vrse-vrde:fix/issues-512-513-514
Nov 24, 2026
Merged

Mercy017 merged 1 commit into
StellarTickets:mainfrom
vrse-vrde:fix/issues-512-513-514

Conversation

@vrse-vrde

Copy link
Copy Markdown
Contributor

Summary

  • reject self-purchase in resale build flow when buyer is ticket owner
  • confirm check-in status from on-chain ticket state so multi-use tickets remain VALID until exhausted
  • add zone-aware check-in build/confirm support, including gate zone metadata and device check-in path

Testing

  • npx jest src/tickets/tickets.service.spec.ts src/tickets/tickets.controller.spec.ts --runInBand --runTestsByPath (failed: jest not installed in environment; npm install blocked by registry access)

closes #512
closes #513
closes #514

- reject self-purchase in buildBuyResaleTx
- store on-chain ticket status after check-in confirmations
- support zone-aware check-in transaction building and gate zone metadata

closes StellarTickets#512
closes StellarTickets#513
closes StellarTickets#514
@netlify

netlify Bot commented Nov 24, 2026

Copy link
Copy Markdown

👷 Deploy request for stellarticketsbackend pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit cc392a8

@drips-wave

drips-wave Bot commented Nov 24, 2026

Copy link
Copy Markdown

@vrse-vrde Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Mercy017
Mercy017 merged commit ddae21b into StellarTickets:main Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants