Coder Social home page Coder Social logo

Comments (1)

engram-design avatar engram-design commented on July 28, 2024

In the same way that Commerce doesn't restore stock for a deleted, cancelled or refunded order, we don't either. I can see the argument that once an order is deleted, any associated tickets should be as well, but it get's tricky if that order is restored (after being soft-deleted), dealing with capacities, etc.

The other issue is that purchased tickets can be created without a related order, which is still okay to have their QR code used. There's no real way of telling if there's never been an order associated with a purchased ticket (manually created), or if there was, and the order has just been deleted. So disabling checking in if there's no order associated with the purchased ticket get's tricky without adding more more handling for flagging manually-created purchased tickets, or tracking deleted-order purchased tickets. Although if we end up trashing purchased tickets, none of that will matter.

It'd be great to have a warning when deleting the order for any checked-in tickets, but that likely won't be possible. That's also a bit of a grey area I think. Does a deleted order actually mean a refund? Does your client actually offer refunds for tickets once checked in? A few cases to consider.

I'll see what we can do.

from events.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.