View Full Version : Premium IPN

28/03/2019, 02:38 AM
I want to implement to my server the premium purchase by paypal. Use INI. Could IPN be used to automatically assign the premium level?

28/03/2019, 07:26 AM
It does not matter what storage approach you use either it's INI, SQL, whatever database to assign the premium user...
However you cannot do this independently just by using sa-mp pawn natives, Paypal IPN API is made for web as the back-office

Connect your web script to access your user database, so the premium level is assigned by the web script, not the sa-mp server.. However, if you need a live update (i.e. when the player is online in game), you need to make some triggers to call in your sa-mp server, so you assign the premium level by pawn script, not by the web script.