First of all yes you need to create a JS file called as events.js (not .jsw .js) all events should be inside this file. You can call a function from an other backend file which is .jsw.
Read carefully and try to understand now:
First you want to give access to your users (to your web-app) when they buy a paid plan. (You need to install pricing plan app from Wix App Market if you installed it there is no problem) And you want to give them a access with a HEX code (like a key of the door).
Also you want to see a dashboard which will gonna show you which customer has which HEX code and other details about it.
-
An automated event that will send a HEX code to customer when customer buy a plan from your website.
-
A dashboard that you can see the details about the database with some filters to make it easier to use.
Let’s clear it you want to do this at least I guess right?
For excel thing if you want to import you data from a local file you need a csv file. Not excel file.
If you are very new into coding this can be hard for you and probably you will do some mistakes like I did and like I’m and everyone else doing but don’t worry it’s not the end of the world.
Contact me from this email (aydontloss@exweiv.com) and let’s do it.