Posts: 33
Threads: 2
Joined: Sep 2017
Reputation:
0
I want to implement to my server the premium purchase by paypal. Use INI. Could IPN be used to automatically assign the premium level?
Posts: 453
Threads: 1
Joined: Feb 2011
Reputation:
0
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.