A server (with php & MySql) or B4J
Libs:
OKHttpUtils, OKHttp to call the scripts (registration, add, buy, etc.)
Firebase Notification
Some helpers like JSON, StringUtils, ByteConverter
Use the search for "Registration". This will give you some examples (and see my signature).