Register an account at tebex.io
After registering your account, you should see this:

so select “Fivem” and click on “continue” then “CREATE MY WEBSTORE”. After reading all the information and the rules click on “accept & continue”
Pick a name for your store then select a currency (the selected currency will be the currency that your players will pay with)
then click “continue”.
After following all the steps above you should be seeing this:

Select " GAME SERVER" and click on “continue”
Now click on “COPY COMMAND” to copy your store’s secret code (this code should not be shared with anyone, I am showing it because it is a fake account which will be deleted afterwards) and paste it in your server.cfg then restart your server and make sure that you are running version #2609 or above.
Once you restart your server it should say “Authenticated with tebex … and your store name…” in green in your console.
When you see this message you will be able to click on “continue setup process” on tebex.io.
Now you should be seeing this:

all what you see is not necessarily needed (logos/designs/etc…) I will go through the important stuff only like setting up a package which will do an action ingame:
in “Create a package” click on complete this item. You should see this:

Now click on “Add new” then “package”, choose “Game Package” and click on CREATE. Now set all the required description like price, name, etc… and click on “create”.
Now you have your package ready! But there is no automated command linked with it, people can buy now but they won’t get anything in return, what should you do then? Simple! click on the 3 dots symbol next to your package then click on “edit”. Now go to the bottom where you see

And click “ADD COMMAND”
Now you can choose between multiple events, for example choose “When a player purchases this package”. Next to this you will see an edit box where you can set a command to be executed when the event happens. In this case, when a player purchases this package. So for example you can set testingCommand {username} {packageName} {price}

