I’m trying to set up s2Member Pro to listen to gateway webhooks and send the necessary data to a custom plugin. I’m going to my WordPress dashboard and navigate to s2Member -> API / Notifications -> (within there should be a Webhook / Notification URLs, I do not see it). There is no Webhook tab, where can i find this webhook tab,
Sending webhook data to your custom plugin
There is no “webhook tab” in the s2member admin GUI.
These two articles should help you build what you need tho.
Building an API Notification Handler (i.e., a Webhook) Using an MU Plugin file in WordPress
Hacking s2Member w/ Hooks/Filters
https://s2member.com/kb-article/hacking-s2member-plugin-w-hooksfilters-for-wordpress/
Hi Earl,
As I mentioned my email reply, and as Gerard said correctly, there isn’t a webhooks tab, but you can enter your URL in the notifications you want to use (e.g. Payments). WP Admin > s2Member > API / Notifications
The URL could be of a custom script you created, e.g. https://s2member.com/kb-article/building-an-api-notification-handler-webhook/
You mention a custom plugin, so that would have a URL that can get values to do something with them. That URL is what you’d enter in the notification, and you’d use the notification replacement codes to add the values in the URL.