Premium IPN
#1

I want to implement to my server the premium purchase by paypal. Use INI. Could IPN be used to automatically assign the premium level?
Reply
#2

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)