Community Support Forums — WordPress® ( Users Helping Users ) — 2012-01-10T03:53:19-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=16737 2012-01-10T03:53:19-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16737&p=60114#p60114 <![CDATA[Re: Notify email to new members on failed PayPal payment?]]>
Stu

Statistics: Posted by stujmiller — January 10th, 2012, 3:53 am


]]>
2012-01-09T19:59:14-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16737&p=60080#p60080 <![CDATA[Re: Notify email to new members on failed PayPal payment?]]>
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?

Statistics: Posted by Raam Dev — January 9th, 2012, 7:59 pm


]]>
2012-01-07T07:25:31-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16737&p=59926#p59926 <![CDATA[Notify email to new members on failed PayPal payment?]]>
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

Statistics: Posted by stujmiller — January 7th, 2012, 7:25 am


]]>