How to find an active ticket in Payfactory