BinaryX
12-06-2010, 10:03 PM
I know there is a hook for that, but how can i execute a certain php code if the subscription id is x. I would also need to get their userid.
I want to execute a certain query that inserts a row into a table with the userid and sub id.
I already got the variable to get the subscription id but not the userid, i tried a few and they all return 0.
Hook: paidsub_build.
I want to execute a certain query that inserts a row into a table with the userid and sub id.
I already got the variable to get the subscription id but not the userid, i tried a few and they all return 0.
Hook: paidsub_build.