PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

Notify email to new members on failed PayPal payment?

s2Member Plugin. A Membership plugin for WordPress®.

Notify email to new members on failed PayPal payment?

Postby stujmiller » January 7th, 2012, 7:25 am

We're using the Pro version of s2member, and all in all, it's great - superb functionality and rock solid reliability!

We're using PayPal Pro Forms for our paid membership level, and one issue we are having is that on occasion, if a user attempts to buy membership but the transaction fails, what happens is that they get downgraded to the free membership but are not notified that the payment fails by PayPal or by s2member.

As a result, they login, realise that they've not been upgraded, and email us to say they've paid but have not been given the correct access. Usually when we tell them that their payment failed and they'll have to try again they don't bother - I guess it must be pretty frustrating!

So - how come s2member doesn't send an email out to people when their payment fails? And is there anyway to hook off the IPN message that PayPal must return to s2member to send the user an email without hacking core?

Thanks in advance for your help!

Stu
User avatar
stujmiller
Registered User
Registered User
 
Posts: 2
Joined: November 17, 2011

Re: Notify email to new members on failed PayPal payment?

Postby Raam Dev » January 9th, 2012, 7:59 pm

Hi Stu,

Thanks so much for the KUDOS! Happy to hear you're enjoying the plugin. :)

Regarding hooking into s2Member to send an email upon failed payment: You should be able to do that by using one of the s2Member PayPal Hooks (try searching for "fail" to find a relevant hook).

Here's an example that shows how to create a hook and here's an example function that sends email.

Does that help?
Raam Dev || Wherever you are, be there. || Please rate s2Member!
User avatar
Raam Dev
Developer
Developer
 
Posts: 810
Joined: October 26, 2011

Re: Notify email to new members on failed PayPal payment?

Postby stujmiller » January 10th, 2012, 3:53 am

Thanks Raam - will check it out later this week and let you know how it goes!

Stu
User avatar
stujmiller
Registered User
Registered User
 
Posts: 2
Joined: November 17, 2011


Return to s2Member Plugin

Who is online

Users browsing this forum: Google [Bot] and 3 guests

cron