Vince Taglia
Member
Is there any way to intercept payment_callback.php, get info from it and not harm the upgrade process w/o modifying payment_callback.php?
I am making an addon where when a user upgrades he/she is instantly upgraded on lets say a game server. I am pretty sure the only way to know if someone upgraded right away is if you are able to intercept it like that or have a db check for new info every second. And of coarse I do not want that. I do not want a db check every hour either I want it instant. I have analyzed it and could not find anything. I just need to intercept the user_id and (I think) user_upgrade_id (hopefully that tells you what package they ordered). I will then take this info, match it up to their steam id and send a command to the server to upgrade them. So any ideas on the intercept?
Thanks guys! This is my first addon for xenforo btw
I am making an addon where when a user upgrades he/she is instantly upgraded on lets say a game server. I am pretty sure the only way to know if someone upgraded right away is if you are able to intercept it like that or have a db check for new info every second. And of coarse I do not want that. I do not want a db check every hour either I want it instant. I have analyzed it and could not find anything. I just need to intercept the user_id and (I think) user_upgrade_id (hopefully that tells you what package they ordered). I will then take this info, match it up to their steam id and send a command to the server to upgrade them. So any ideas on the intercept?
Thanks guys! This is my first addon for xenforo btw