• I don’t know why this code below can generate unique ticket ID, Can it generate duplicate ticket ID ?

    `public static function generate_unique_ticket_id_from_attendee_id( $attendee_id ) {
    $info_edit_token = get_post_meta( $attendee_id, ‘etn_info_edit_token’, true );
    $ticket_id = substr( strtoupper( md5( $info_edit_token ) . $attendee_id ), – 10 );

    return $ticket_id;
    }

Viewing 1 replies (of 1 total)
  • Plugin Support A Zaman Sagor

    (@azamansagor)

    Hi @kientv,
    Thank you so much for asking. We have created this function so that our ticket ID should be unique. Because if the tickets are not unique, there will be many difficulties in attendee verification process. There is very minor chance of ticket duplication and we didn’t get any report of such ticket ID duplication yet.
    Hope you understand.

    Thanks for being with us.

    Regards

Viewing 1 replies (of 1 total)
  • The topic ‘Generate unique ticket ID’ is closed to new replies.