rec_failed notice from Paypal

3 replies [Last post]
kuroi
Offline
Joined: 12/04/2009
Status: 
Answered

We've been running with the memberships suite for 8 (ish) months.

Just recently there have been a handful (5) rec_failed notices from paypal on the days that payments were due.

These memberships are then 'expired' in the next cron run and the role(s) removed.

BUT - for at least 1 of them, we've successfully received the payment 5 days later ... I'm guessing due to Payal retries.

Although we can manually re-assign the role(s) so that the user has access to the premium content - their account still shows "Expired / Inactive" under current memberships in the user account area.

2 questions :

1. Is there a setting for the time between a failed payment and the act of expiring the membership? (to allow for the paypal retries)

2. What is the best/correct way to re-instate a member if/when this happens?

Look forward to hearing more

Regards
Adrienne

Leighton Whiting
Offline
Joined: 06/02/2009
Kuroi, There have been some

Kuroi,
There have been some changes in the past couple of months to how Membership Suite handles the rec_failed notice. What version of MS Core, MS PayPal WPS, and Membership Suite are you using?

I think the ideal way for this to be handled is that once a rec_failed notice is received, the suite will wait for a configurable amount of days while it waits for PayPal to retry, then after that set amount of days, it expires the membership. I'll do some poking around and see what can be done.

To manually set the membership as active again, you need to edit the membership in Users->Memberships and set the status to Active. That should do the trick.

Sincerely,
Leighton Whiting

kuroi
Offline
Joined: 12/04/2009
Aha, Thanks for the quick

Aha,

Thanks for the quick response .... I'll get on to the upgrade ... we're on version 6.x-6.8 so that should help.

I like your description of the ideal way to handle rec_fails ... configurable number of days 'grace' until the role(s) are removed - very civilised.

Look forward to hearing more on that.

Best Regards
Adrienne

Leighton Whiting
Offline
Joined: 06/02/2009
I've added a provision in the

I've added a provision in the code that will automatically reactivate an inactive subscription if a successful payment is received. This should be sufficient for now.

Sincerely,
Leighton Whiting

Twitter Feed