hi there
Maximum opencart reviews
I did the similar project where one has to send the activation code for games.
It is not as simple as it seems ,many checks are to be done , not sending the pin again
saving the sent pin , provision in admin to send the mail to resend the pin.
All this should happen for successfully paid orders.
with cron one can achieve this