# Codice univoco per la registrazione dell'utente

**URL:** <https://meta.discourse.org/t/unique-code-for-user-to-register/106491>\
**Category:** Development\
**Created:** [14 Gennaio 2019, 12:57pm UTC](https://meta.discourse.org/t/unique-code-for-user-to-register/106491 "2019-01-14T12:57:35Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![supermathie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/supermathie/32/507518_2.png) [@supermathie](https://meta.discourse.org/u/supermathie)\
**Post date:** [14 Gennaio 2019, 2:48pm UTC](https://meta.discourse.org/t/unique-code-for-user-to-register/106491/4 "2019-01-14T14:48:02Z")

</div>

Are you sending the invitations by hand?

If so, you could instead have your sales backend send an API call to Discourse that generates the invite and sends it to the user.

If you don’t want to have this happen on every purchase, you could also put a page on your site that verifies the transaction ID and calls the invite API.

This might be a more straightforward approach than a plugin.

---

_[View the full topic](https://meta.discourse.org/t/unique-code-for-user-to-register/106491)._
