latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

About: Stuart Miller

Sorry, I've not written a description yet. I'll get to it soon!


Topics I'm Subscribed To

Viewing 3 topics - 1 through 3 (of 3 total)
Topic Count Last Reply
PayPal Pro Failed Payment IPNs being ignored

By:  Stuart Miller in: Community Forum

voices: 3
replies: 14

3 years, 10 months ago  Jason (Lead Developer)

Custom variables and automated renewals

By:  Stuart Miller in: Community Forum

voices: 2
replies: 1

4 years, 1 month ago  Raam Dev

Custom New User Email

By:  Alex Chan in: Community Forum

voices: 3
replies: 3

4 years, 8 months ago  Stuart Miller

Viewing 3 topics - 1 through 3 (of 3 total)

Topics I've Started

Viewing 2 topics - 1 through 2 (of 2 total)
Topic Count Last Reply
PayPal Pro Failed Payment IPNs being ignored

By:  Stuart Miller in: Community Forum

voices: 3
replies: 14

3 years, 10 months ago  Jason (Lead Developer)

Custom variables and automated renewals

By:  Stuart Miller in: Community Forum

voices: 2
replies: 1

4 years, 1 month ago  Raam Dev

Viewing 2 topics - 1 through 2 (of 2 total)

My Latest Replies (From Various Topics)

Viewing 7 replies - 1 through 7 (of 7 total)
Author Replies
Author Replies
Posted: Tuesday Mar 5th, 2013 at 12:18 pm #43793

Hi Jason,

Wanted to respond on this so that the solution is in place for anyone else experiencing the problem.

After a lot of discussion with PayPal, you’re correct – with MAXFAILEDPAYMENTS set to 2 via the s2member RRA value, PayPal will;

  1. Attempt to take payment at the end of the first billing cycle (in my case one year after first sign up)
  2. If it fails, it’ll wait 5 days then try again, then 5 days then try again, then set MAXFAILEDPAYMENTS to 1
  3. It’ll then wait a FULL billing cycle (so a year in my case) to try 1 + 2 again
  4. As soon as MAXFAILEDPAYMENTS hits 2, it’ll cancel the subscription and send the correct IPN

Effectively, it’s a bit broken for yearly subscriptions, really. PayPal that is – not s2! PayPal won’t/can’t update old subs on your behalf, so I’m currently faced with manually updating 810 records in PayPal’s shoddy management console. *sobs*

One final thing – you mention (as does the in plugin documentation) that setting RRA/MAXFAILEDPAYMENTS to zero will mean it won’t try again and terminate after the first attempt. This is incorrect. For the last two weeks I’ve had RRA set to zero, and all my new profiles since then are now set to “Never expire” in PayPal.

RRA/MAXFAILEDPAYMENTS must therefore be set to 1 if people want it to terminate after attempting 3 times in 15 days at the first renewal date.

Anyone fancy manually updating 810 profiles for me? :(

Posted: Thursday Feb 21st, 2013 at 11:07 am #42739

Hi Jason,

Just got the following from PayPal – hopefully it might help! They seem to be suggesting that they’re not receiving a MAXFAILEPAYMENTS variable. I assume that’s the same thing as we set in the RRA param in the s2member shortcode?

Dear Stuart, 

Apologies for any inconveniences.

With regard this issue "PayPal is not terminating user subscriptions after a number of failed payments" you should use the variable MAXFAILEDPAYMENTS 

MAXFAILEDPAYMENTS 
(Optional) Number of scheduled payments that can fail before the profile is automatically suspended. An IPN message is sent to the merchant when the specified number of failed payments is reached.
Character length and limitations: Number string representing an integer

You can find here what IPN variables and values you should receive for your recurring payments: 

https://www.x.com/developers/paypal/documentation-tools/ipn/integration-guide/IPNandPDTVariables#id08CTB0S055

https://www.x.com/sites/default/files/ipnguide.pdf - page 52

If you are using Standard Subscription you can find below

subscr_cancel Subscription canceled 
subscr_eot Subscription expired 
subscr_failed Subscription payment failed 
subscr_modify Subscription modified 
subscr_payment Subscription payment received 
subscr_signup Subscription started

For a Recurring Payment (create from API call)

This is the value you will receive if the payment will fail:
txn_type=recurring_payment_failed

Recurring payment received recurring_payment 
Recurring payment expired recurring_payment_expired
Recurring payment profile created recurring_payment_profile_created
Recurring payment skipped recurring_payment_skipped

If you can send me few examples, I can investigate further for you. 

Many thanks
Kind Regards
Federica
PayPal MTS

Cheers,

Stu

Posted: Thursday Feb 21st, 2013 at 9:58 am #42729

Sorry, don’t know what happened there – have sent them again for you.

Posted: Thursday Feb 21st, 2013 at 4:11 am #42682

Hi Jason,

Just sent the logins via the private contact form – thanks in advance!

Stu

Posted: Thursday Feb 21st, 2013 at 2:34 am #42661

Hi Jason,

Thanks. Refunds and manual cancellations through PayPal filter back into s2member just fine. But I’m not getting any of;

subscr_eot
recurring_payment_expired
recurring_payment_suspended_due_to_max_failed_payment

..from PayPal, even long after I receive my ‘You didn’t get your payment’ email message. Instead it seems to send another ‘failed payment’ message.

Have you guys ever experienced anything like this? Seems like an issue with PayPal, but they’re not owning up and I’m completely stuck otherwise!

Thanks,

Stu

Posted: Wednesday Feb 20th, 2013 at 7:29 am #42564

Hi Cristián,

I mentioned in my original post that the RRA is set to 2. What’s happening is that even after two attempts, PayPal is sending the message I copied in above – a ‘payment failed’ message, which s2member isn’t doing anything with. PayPal then does not send anything else, and I therefore need to manually cancel the subscription at PayPal’s end.

Should s2member not be cancelling these as it’s the final message from PayPal? That’s what PayPal are saying.

Thanks,

Stu

Posted: Friday Apr 27th, 2012 at 11:01 am #12051

Hi – I’ve been trying to do the same – looks like someone else managed to do it by tweaking the core code:

http://www.s2member.com/forums/topic/html-in-welcome-emails/

I really don’t want to change the plugin core code for obvious reasons – anyone from primo have any ideas?

Thanks,

Stu

Viewing 7 replies - 1 through 7 (of 7 total)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.