I am trying, unsuccessfully so far, to hook to s2Member payments in my own plugin. In other words, any time there is a payment through s2Member and Paypal, to be able to act on it in my own plugin.
In my plugin I have:
`
Hook to payment in my plugin
Don’t use hook, use “Notification URL” instead. Sure, this URL must be saved in notifications, but it fires always, and with any gateway.
Ok, I can try that. It just seem like a round about way of doing things.