I also receive this “invalid” PayPal notification using S2M Framework (not pro) unless the user is already signed into PayPal before clicking the unsubscriber button.
Surly this isn’t how it is suppose to work?
Did you resolve this issue americanknight?
I’m afraid not. Still waiting for a response.
@americanknight, I don’t know if you have resolved your issue but I have discovered the cause in my project and thought I’d share – just in case.
I get the “invalid” notification when a Security Key is active on my PayPal account ( SMS code ). After deactivating the Security Key the unsubscription process works as expected.
Hope it’s of help to someone ;o)
@americanknight, did you enter your Merchant ID here? WP Admin -> s2Member -> PayPal Options -> Account Details -> Merchant ID
See: Subscription Cancellation “Button” Invalid · Issue #27 · WebSharks/s2Member https://github.com/WebSharks/s2Member/issues/27#issuecomment-30482381
I hope that helps.
@ianhempsell Thanks for sharing that. 🙂
I appreciate the help. I looked into my PayPal account, and I don’t have a security key enabled, so that’s not the problem for me.
Yes, I do have my merchant id configured with s2member. Though after looking at what Christian shared, I realized that my unsubscribe button is still using my merchant email address in the URL it generates instead of my merchant id (maybe I need to regenerate the short code?). So as an experiment, I replaced:
https://www.paypal.com/cgi-bin/webscr?cmd=_subscr-find&alias=%5Bmy email]
With
https://www.paypal.com/cgi-bin/webscr?cmd=_subscr-find&alias=%5Bmy merchant id]
On the up side, I now get this message when I’m redirected to PayPal:
“To cancel a specific subscription click on its details. This will take you to its details page where you will find a Cancel button.”
On the down side, no subscriptions are listed! Under “All Activity” (within the correct date range), there’s nothing there. So this actually makes the situation worse, because with the previous error message, it at least provided a link to where users could find their subscriptions and cancel them.
I’m glad there’s some progress.
Are you generating those with s2Member’s shortcodes for PayPal buttons, or from PayPal’s site? WP Admin -> s2Member -> PayPal Buttons -> Subscr. Cancellation