Y a-t-il un moyen d'associer un ID de transaction à un lien d'invitation ?

When a user pays to obtain an invitation link, they obtain a link that gives them the freedom to use any email address they want to register. The problem is that if they decide to cancel the purchase, then I would have to know which user is canceling. I would do that if there were a hidden custom fixed field with the transaction ID during registration.