OK so I ran into a problem. I can not sign up with any plan if I am not logged in. I installed plugin and even uninstalled and reinstalled but that did not fix the problem. So now if I am not logged in and I try to select a plan it takes me to the wp-login screen. Once I am logged in things seem to work correctly. Please help. Thanks.
Plugin Author
Bob
(@prasunsen)
Well, this plugin requires user login to signup for a plan.
Hi!
Not sure if you’re still interested in having this feature but I just thought I’d let you know that I’m currently working on a plugin that’ll allow a user to cancel their subscription anytime they want to. I’ll let you know when I’m done. π
Great!!! I would like to know when you are finished. I volunteer to test it if you need an external tester.
Hi!
Here’s what I’ve been able to come up with so far. I put it up as a gist on github for now. I hope it works for you.
Gist: https://gist.github.com/admiralchip/379766c0d56e7351709a
How it works:
– It uses the shortcode [ad_konnichiwa_cancel] to select the plan(s) that the user is currently subscribed to and displays them to the user. There is a “Cancel” link right next to the plan name.
– The user clicks cancel and then they are asked if they are sure. At this point they can click “Yes”.
– Then their subscription is cancelled! (The record of their subscription is deleted from the database.)
– The user has to be logged in to see their subscriptions. If they’re not, they’ll be redirected to the login page.
Although you’ve still gotta set the plan duration to a VERY long one (like the 2000 months you mentioned earlier) it does give the user the chance to cancel their subscription anytime they want to.
How to use it:
– Put “konnichiwa-cancel.php” into a folder. You can name it “konnichiwa-cancel”.
– Put the folder that you made into the plugins folder under wp-content.
– Activate the plugin as usual.
– Put the shortcode [ad_konnichiwa_cancel] in a Page or a Post and voila!
Hope this helps. Let me know what you think.
Made some changes to it. I’ll put the link again just in case it changed:
https://gist.github.com/admiralchip/379766c0d56e7351709a
for a neophyte, how do you create a folder and name it? I’m working on a mac, perhaps that makes it less transparent or something, but I’ve been through the various menu items in my dashboard and can’t find any folder creating page…
Thanks!
Hi @damonlehrer !
Here’s how you can do it:
On your computer, make a folder the way you usually would as if you were going to organise some files on your desktop. Then put the ‘konnichiwa-cancel.php’ file into that folder. Afterwards, upload that folder to the wp-content/plugins folder of your wordpress site using FTP. π
OR
If you’ve got cPanel access to your site, navigate to the plugins folder that is in the wp-content folder. You should see an option allowing you to create a folder or directory. Click on that and give the folder / directory a name. When you’re done with that, open the folder / directory that you just created and upload konnichiwa-cancel.php there. π
When you’re done, login to your dashboard and activate the plugin.
Let me know how it goes! π
For all those who are interested in the cancel subscription feature, I’ve just released it as a plugin on Github to make it easier to set it up. That way you don’t have to create a folder and put the konnichiwa-cancel.php file in it. You can get it here:
https://github.com/admiralchip/konnichiwa-cancel
Just click on “Download Zip” found on the bottom right corner of the page to download the plugin. Afterwards, you can go to the dashboard of your WordPress site, go to Plugins > Add New > Upload Plugin and upload the zip file you just downloaded. Activate the plugin the way you usually would and use the shortcode [ad_konnichiwa_cancel].
I hope this helps to make it easier. π