jeudi 10 juin 2021

Generating an unique transaction id for an application developed in python [closed]

I'm building a payment application for an educational institution that expects high transactions during admission season. I need to create a unique order id for each payment before sending the payment data to a designated payment gateway. This should contain only numbers and some alphabets

Ex: UTY1623316575194851608

For building this string I'm using the time-stamp and a three-digit random number generated with python.

Is this a good strategy to generate a unique number?

Thank you




Aucun commentaire:

Enregistrer un commentaire