This topic contains 3 replies, has 2 voices. Last updated by Jason (Lead Developer) 4 years, 10 months ago.
Topic Author | Topic |
---|---|
Posted: Tuesday Feb 7th, 2012 at 6:21 am #4296 | |
Seems my last question on this topic has disappeared in the site update… I’m trying to hook into the payment notification system in s2member, and perform an action when any payment is received. I can see how to do this via the API and a separate page, but in my situation I need to accomplish it via a hook. The hook I’ve found which I think will suit my purposes is ‘ws_plugin__s2member_after_paypal_notify’, however I’m struggling to work out how to get the users information related to the notification. Again as mentioned, I can see how to do this via the Notification API, but could you advise how I can get that info in my hooked function? Thanks! |