Log in

View Full Version : Paid Subscription Plugin Variables


m002.p
02-02-2009, 08:25 PM
Hello everyone.

I am trying to code a plugin so that when one of my paid subscriptions is completed by a user (ie they have paid) then I update another database using some MYSQL queries.

Now, I know how to code the queries I want to run, but I do not know a) what plugin hook to use (paidsub_complete?) and b) what variables to understand which userid completed the transaction and obviously ensuring its the right paid subscription I want to write info for.

Any ideas on the variables to use?

Thanks in advance

Matt

Dismounted
02-03-2009, 05:13 AM
Look at the process of how paid subscriptions are handled. You will find the correct hook that way. (I can pretty much assure you that it is not paidsub_complete.)