Ensure postprocess is called only once
Fixes https://github.com/civicrm/org.civicrm.module.cividiscount/issues/229
We're on latest extension version and still see duplicate DiscountTrack item being recorded in the database. This can be replicated by making a membership payment with eg a dummy processor (live mode).
ensuring the postprocess is called only once, fixes the problem for us.