How to generate a unique random value for a mobile transaction?

Friends,

I need to do a payment through ionic 3 using inapp web browser . As a requirement for unique identification of transaction , we need to pass a unique transaction Identifier to the server . I have no idea how to generate it using current mobile specification data. Any body please advise
a solution

Thanks

Anes

i think you use online payment gateway for payment.
almost all payment generated again of any order no/ invoice ID…
and order no. always be unique value of your invoice so i think
use your order id for your unique transaction Identifier…

Ok thanks Sabir …

Please advise on the current thread : Could not download PDF from base 64 data from web service . Why?

Thanks

Anes

sorry @anespa i don’t know about this issue.