[#586] Group booking sending tickets before confimation

Migrated from Redmine #586 | Author: Dhanushka Krishnajith
Status: Feedback | Priority: High, I’m very impatient | Created: 2020-10-11


I am booking tickets by specifying the count (request below). However, as soon I book a ticket, client receives an email with the tickets. This is confusing for the customers because the payment has not been made yet. Also, this is inconsistent behaviour for multiple bookings (when specifying batch id to book), in which tickets are only sent after confirming the invoice. Is there a work around to make below API request send tickets after confirming invoice. I can use multiple bookings with a batch id specified, but the invoice generated then creates a line item for each booking instead of using quantity.

{
   "jsonrpc":"2.0",
   "method":"book",
   "params":[
      "17",
      10,
      "2020-10-19",
      "15:00:00",
      {
         "name":"Guest",
         "email":"xxxx"
      },
      {
         "c377cc163ead4cccf4f776f5151a830c":"2",
         "9c2cea82ab41413ecb13db5e4c8bdec4":"1",
         "products":[
            
         ]
      },
      3,
      null
   ],
   "id":10
}

Dmytro Bondarev wrote:

Hi! Please pass “handle_invoice”:true to $additional param .

Dhanushka Krishnajith wrote:

Dmitry Bondarev wrote:

Hi! Please pass “handle_invoice”:true to $additional param .

Thanks this helped me a lot