So instead of using Payment Processed use Ticket Closed or Ticket Closing.
so what I need to change or remove from rules?
Try using the Save Ticket
Action in each of your Payment Processed Rules, before the Execute Bill Print Job
Action. Similar to the default Print Bill
Rule.
I remember having trouble getting this to work.
I have the Save Ticket
action added to the Settle
rule. Can’t remember exactly why I had to do this but it works for me.
It’s really simple. I already explained why ticket Id is generated after closing. Save Ticket works but it has requirements it needs to meet as well like the ticket needs to be tagged or entity assigned or payment initiated for it to save to db.
I personally think it should work regardless but I am sure Emre has a reason for keeping the close ticket integrity preserved even with save ticket action.