Users/Customers can get code from shop owners (by meeting them in real world). eg, ProductSeller321. After getting the code from the shop owner, customers can open the app by entering the code. Now, whenever customers make purchase 5% commission will be given to the shop owner whose code name is ProductSeller321. If same/another customer used the code of another shop owner, then the 5% commission will go to this new shop owner who has different code name.
So, how can I do it without having any programming knowledge & with complete protection to the app from hackers.