Greg’s Plugins for WordPress

Plugins for WordPress

Portfolio of Plugins for Adoption!

S2 Payment Failure Notifier

Enhance the popular s2Member plugin by automatically sending a paid user an email notice if their membership renewal payment should fail.

What this Plugin Makes Possible

The popular membership plugin s2Member provides robust handling of payment renewals and failures, but it doesn’t send out an email notice when a payment failure occurs, which can leave members baffled when their membership is suspended without notice. This plugin rectifies that problem, sending out an email immediately after a PayPal payment failure in order to give members an opportunity to rectify the problem before they get cancelled.

How it Works

This plugin communicates with WordPress primarily by tapping into the following:

  • ws_plugin__s2member_during_paypal_notify_after_subscr_failed
  • wp_mail()

Configuration and Flexibility

Note that this plugin is currently hard coded with an array of domains it’s designed to work with, plus the text of the notification email. The plugin could be extended before public release to support configuration via the WordPress administrative interface.