Rating: 5 stars
Delete Me is a must-have plugin for any WordPress site that values user autonomy and data privacy. It delivers exactly what it promises without any unnecessary complexity. Highly recommended!
]]>Rating: 5 stars
Hi there, I just want to add that it would be useful if you could include this too. ^^ I tested it on my website and it worked like a charm. I didn’t test it for PayPal subscriptions, but for PMPro and Stripe, it works 100%.
If someone needs it, you need to insert it into delete-me/inc/delete_user.php after line 123 and before the // Delete user (line comment.) Please make a back-up first.. ??
// Assuming you have the subscription ID stored somewhere in your code or user data
$subscription_id = get_user_meta($this->user_ID, 'stripe_subscription_id', true);
// Check and delete Paid Memberships Pro membership
if (function_exists('pmpro_getMembershipLevelForUser') && function_exists('pmpro_changeMembershipLevel')) {
$membership_level = pmpro_getMembershipLevelForUser($this->user_ID);
if (!empty($membership_level)) {
pmpro_changeMembershipLevel(false, $this->user_ID, 'inactive'); // Change to 'expired' if you want to expire the membership immediately
}
}
// Check and cancel the Stripe subscription
if (!empty($subscription_id)) {
// Cancel the Stripe subscription at the end of the billing period
try {
$stripe->subscriptions->update($subscription_id, ['cancel_at_period_end' => false]);
} catch (\Stripe\Exception\ApiErrorException $e) {
// Handle any errors that occur during the Stripe API call
// You might want to log the error or take appropriate action
error_log('Stripe API Error: ' . $e->getMessage());
}
}
// Cancel the PayPal subscription
$paypal_subscription_id = get_user_meta($this->user_ID, 'paypal_subscription_id', true);
if (!empty($paypal_subscription_id)) {
try {
$subscription = \PayPal\Api\Subscription::get($paypal_subscription_id, $paypal);
$subscription->cancel([], $paypal);
} catch (\PayPal\Exception\PayPalConnectionException $e) {
error_log('PayPal API Error: ' . $e->getMessage());
}
}
p.s. PLEASE, keep this plugin alive. Much appreciated!
]]>Rating: 5 stars
It did the job well.
]]>Rating: 5 stars
Works as advertised. You can choose user roles, place a shortcode on any page. Account and comments are deleted without problems. Warning messages and password prompts appear. Faced some difficulties. Users who automatically log into the system via social networks cannot enter a password, as they have never created one. There is also a hyperlink in the profile to delete the account, but it does not work. Everything else is good. Used in WordPress 5.6, PHP 7.4.7. Other plugins may contain user data. Thanks a lot to the developer!
]]>Rating: 5 stars
I wish every website, company, organization, whatever, had an easy and obvious way to completely delete your account. Yet it seems almost none do!
This plug in empowers your users to do that. It is dead simple to set up, and it is pretty intelligent behind the scenes.
]]>Rating: 5 stars
This plugin in does exactly what the discriptons tells. A big plus is the integrated shortcode und the costumazation options. Just enough to modify everything you need. Wonderfull
]]>Rating: 5 stars
Greetings Clinton,
Just to let you know that this plugin is absolutely perfect for what it does.
I could so easily get it to work with Oxygen Builder / WP Multilang and Loco Translate.
Awesome job you’ve done here.
Thank you so much.
Rating: 5 stars
I hope the title says it all.
The author created an essential plugin which gives users control over their account, He provides sufficient customisations within the plugin to allow it to be tailored to individual needs and then, when my knowledge was insufficient he went out of his way to provide a video tutorial.
Thank you
]]>Rating: 5 stars
Thank you!
]]>Rating: 5 stars
If an user can create an account then he must also be able to delete it at his will.
Thanks for the plugin author.
Rating: 5 stars
Perfect to give users the freedom to manage their data.
Glad I did not have to get my hands dirty in PHP code solving that myself ??
Rating: 5 stars
Works like a charm with just the right amount of customisation features.
]]>Rating: 5 stars
Thank you for this nice productive plugin! Dropped it right into my account for so that people can do self maintenance and not leave their accounts behind. Woo doesn’t offer this. Thanks again.
]]>Rating: 5 stars
this is one of the great plugins.
very usefull.
Rating: 4 stars
the plugin does what it says but i would love to see two improvements:
1. a real confirmation page instead of a javascript alert
2. a hook to fire a function. because i have user entries in other plugin tables which need to be deleted to. i then could insert a custom function when user wants to delete himself.
Rating: 5 stars
Respect your user, install this plugin !! ??
]]>Rating: 5 stars
This plugin works perfect and it does what it says… and it’s very easy to translate in the settings.
]]>Rating: 5 stars
Perfect plugin as per requirement…
]]>Rating: 5 stars
Excellent plugin, easy configuration and works perfectly
]]>Rating: 5 stars
I was looking for this simple feature and finally found it. Thanks a lot!
]]>Rating: 5 stars
Perfect plugin for adding missing functionality!
]]>Rating: 5 stars
This should be built into WP anyway, great Plugin. Works out of the box.
]]>Rating: 5 stars
Excellent plugin. Does exactly what it says, nice and simple.
]]>