rockell
07-18-2009, 07:48 AM
Hi, I'm trying to hook the subscription section, but can't find alot of info on it.
I basically want after people subscribe to say subscription id=X. Then an php script will execute a mySQL command based on that user's custom field, say a "field5" to add say +1000 points.
Now, I can't test the subscription hooks because it require you to pay to complete an order. I just want to work with what happens after you paid.
Or you can provide me with the correct hook that gets called after a person makes an payment. For what I can see, it is paidsub_complete but that don't seem to be it.
So I basically need to know:
The correct hook that gets called when a person makes a successful subscription (only certain subscription id etc).
This would be major helpful if someone could tell me which hook or even write a small demo code.
Good Timessss!?!?
I basically want after people subscribe to say subscription id=X. Then an php script will execute a mySQL command based on that user's custom field, say a "field5" to add say +1000 points.
Now, I can't test the subscription hooks because it require you to pay to complete an order. I just want to work with what happens after you paid.
Or you can provide me with the correct hook that gets called after a person makes an payment. For what I can see, it is paidsub_complete but that don't seem to be it.
So I basically need to know:
The correct hook that gets called when a person makes a successful subscription (only certain subscription id etc).
This would be major helpful if someone could tell me which hook or even write a small demo code.
Good Timessss!?!?