Git Product home page Git Product logo

Comments (2)

satcreative avatar satcreative commented on August 22, 2024

Update on this issue:
It seems if the individual ticket type quantities are changed, the total capacity changes automatically to the sum of all the ticket type new quantities. This is the reason we are seeing the 500 error as the total capacity is automatically lowered to a value below that of the total tickets already sold.

To get around this we are having to manually change the total capacity back to its original value before the individual ticket quantities were changed.

Surely this can't be right. Is this a bug?

from events.

engram-design avatar engram-design commented on August 22, 2024

Yeah, so this is a good point. The total quantity of tickets should be inclusive of all sold and unsold - it should typically be the capacity of the event venue - if we're talking about things in terms of an actual event. So reducing this number to 16 will put it into an oversold state immediately.

So the reason for the auto-changing of the capacity for the event is trying to make it easy for clients not to miss this setting.

Say you have an event with a total capacity of 40, you have 2 ticket types, with a capacity of 20 each (just for simplicity), as such, it splits evenly. But say you lower one ticket types capacity to 10 - you would expect there to only be 30 available tickets, but because the event capacity would be unchanged (still at 40), the event could be potentially oversold.

Having said that - I'm not actually sure this scenario would play out. As you've got limits on each ticket type, only 20 of one ticket type could be purchased, and 10 of the other, leaving 10 simply unavailable to purchase.

I'll fixed up this auto-changing behaviour in light of this in 1.1.7

Hope that all makes sense.

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.