Can't get cancellation to work

Hi there, I have S2member Pro and I’m having trouble with cancelling accounts. I’ve set up registering, and that’s all working perfectly, but when I click on the cancel button and log in to Paypal, I get the message “No active subscriptions to info@example.com were found. You can find the status of all subscriptions in your transaction history.” I can’t find what is doing this or how to fix it, as it seems it should just be a matter of clicking on the button generated by [s2Member-PayPal-Button cancel=“1” image=“default” output=“anchor” /]

Can anyone suggest why this may be doing it and how to fix it?

Other information that may help:
I’m running my tests with real accounts, not with sandbox
I have a free trial period at the start of my subscriptions
I have a simple setup with three types of paid subscribers (and no free ones)

Thanks to anyone who can help!

  1. Do you have the subscriptions showing in s2Member? (Is there an EOT and a Paid Subscriber ID?)
  2. Have you enabled logging and checked all of the logs with paypal in the name? Also check the http logs if you find nothing in the paypal logs.
1 Like

Thanks for answering, JediShark, I really appreciate it. The log files read as if there is no problem. Paid subscriber ID is showing, but no EOT is showing, so that may be the problem. Automatic EOT behaviour is set to Yes / enable via WP-Cron, so it should be.

For some reason, not sure why because I hadn’t changed any settings, it isn’t giving the error message when I log into Paypal anymore. But instead when you log into Paypal, nothing happens. It doesn’t show an error or a success message, and it doesn’t cancel the subscription (I’ve gone into My Preapproved Payments to check and the subscription is still active). I’ve tried leaving it for a while to see if it’s just taking a while for Paypal to process it, but it still reads as active.

I’ve tried turning off all plugins and registering with a new user to check there wasn’t a plugin interfering with this, but there’s no difference.

Should Paypal show a success message when it is cancelled? What else may be stopping EOT from showing? Is there something else that might be causing this? It’s probably something glaringly obvious that I’ve just overlooked, but I can’t seem to work it out.

Thanks for any help you can give.

Are there any messages in the paypal-ipn logs about the cancellations? Not necessarily errors, but any messages at all. I’m pretty sure s2Member does not cancel the membership until they’ve heard back from PayPal.

Also, just to be thorough, have you tried canceling from within PayPal? Does that send any message back to s2Member?

Finally, although I don’t think this should make a difference, are you canceling during the initial trial period?

Thanks in advance.

1 Like

Ah, you’re a genius, I think that’s the issue. Paypal isn’t communicating via IPN because my site isn’t https, I had set it up under the old system I used with my previous website that used S2Member, before the SSL rule for the IPN integration came through, so I totally missed that. I’ve bought an SSL certificate, and it will hopefully be set up in the next 24hours, so I should know then whether that’s the problem or not. I’ll let you know either way, whether it works or not. Thank you for your help so far, and I’ll be in touch hopefully tomorrow to let you know.

Sounds like you’ve got it. I didn’t think to ask about https… my bad. :slight_smile:

1 Like

Sorry for the late reply, took a while to get my ssl set up. Yup, that was the problem. Thanks so much for your help, I really appreciated it!

1 Like