- Download the latest version of this resource
- Put the resource inside your
resources
folder - Add
ensure tebex
into yourserver.cfg
file - You should have already setup the
sv_tebexSecret
at yourserver.cfg
file!
- Get into your Tebex dashboard
- Then open your Webhooks settings at Integrations > Webhooks
- Fill the webhook URL text box with
http://your-server-ip:30120/tebex/payments
the port is your FiveM server port!
- Handle the event
tebex:newPayment
at any server-side resource file! - Check the example.lua file for useful examples