Support » Plugin: Paid Memberships Pro - Content Restriction, User Registration, & Paid Subscriptions » Doubt about Recurring Payments
I’ve read this on a GIST:
“You generally do not want to setup PMPro levels with both a recurring billing amount AND an expiration date. This SQL query will clear the expiration date for active recurring memberships.”
Maybe this is causing my issues here: https://wordpress.org/support/topic/expiration-problem/
Since I’ve recurring bills (per year) with this checked: “Membership Expiration: Check this to set when membership access expires.” (with 1 year duration)
And it says too “Set the duration of membership access. Note that the any future payments (recurring subscription, if any) will be cancelled when the membership expires.”
That means that if an user paid and has a subscription of 1 year, and when near the end date if the user renews, the membership will still cancel?! Is that it?
- This topic was modified 5 years, 9 months ago by Leinad4Mind.
Thank you for reaching out and for your patience, that is correct, some cases it may cancel user’s memberships even though they have renewed.
Would you mind sharing the gist you have found with me so I may have a look into it for you?
Where I read that was in this gist: https://gist.github.com/strangerstudios/ddc95dac10cff8fbfb50af25de170a77
But I’m not using that code! I just read that note and then after read the note on admin panel I thought “it may be it”, causing all my issues of users going to the expire group even when they renew. Or the other problem that users that doesn’t renew was going to expire group instead of Free Members Group as I coded with a costumization plugin.
I’ll share very soon my code
EDIT: We can continue here since it seems to be related and I shared my costumization code there:
Thanks for this @leinad4mind
I would recommend reaching out to our higher level support staff to troubleshoot your site for you in greater detail by opening a support thread on http://www.paidmembershipspro.com
I’m really sorry for the inconvenience caused as well as taking a while to reply to your threads here.
What question do you have doubts about?
You do not need to use any expiration date if your memberships are recurring as it will automatically bill users every year until they cancel their membership.
If you are experiencing issues with memberships that get billed but cancel instead of renewing, I would recommend in using the gist you mentioned to remove the expiration dates from the users. https://gist.github.com/strangerstudios/ddc95dac10cff8fbfb50af25de170a77
Please do a backup of your site and database before running this code.
What payment gateway are you using?
I will continue to assist you here as much as possible as this issue may be site specific and may require a lot more time and more access to your site in order to resolve this issue (which we cannot do over the .org forums) which is why I had asked to open a support thread on http://www.paidmembershipspro.com
I hope this helps.
Thank you. 🙂 That sql seems to do the trick. I’ll have more news in february.
I’m using Paypal Express.
I’ve just one more doubt: What happens when someone turns off auto-renewal through PayPal? Does the PayPal system alert the membership system of this? So, will the user be removed from the Level?
You are most welcome 🙂
If the user’s fail to renew in any form, such as no funds available, invalid credit card details or the user just doesn’t renew.
PayPal will send a notification to your site and Paid Memberships Pro will remove the membership level from that user.
If this doesn’t happen, it’s usually a problem with your site not handling that notification correctly.
If that does happen, please let us know by opening a new support thread so we may assist you in resolving this.
Have a great week ahead! 🙂
Lets reopen this issue again :/
I am almost giving up on this plugin…
It doesnt seem to work at all…
I’ve Paypal Express as my gateway, I had one user that bought a membership plan 26 Feb 2017, and yesterday was the subscription renew.
And I’ve received a notification from paypal saying that the user cancel the subscription, but on this plugin, the user is still active… shouldnt paypal talk with the gateway of the plugin and remove the user from the membership?
Here some pics so you can see what I’ve:
- This reply was modified 5 years, 7 months ago by Leinad4Mind.
Thank you for the feedback @leinad4mind,
Did the user cancel their subscription within PayPal or from your site?
What happens is that if the user’s account fails payment, the payment gateway will keep trying for X times before cancelling the user’s membership over a couple of days.
If this still doesn’t work, this could be an IPN issue with your site.
I look forward to hearing from you, I’m really sorry for the inconvenience caused. If you would like a more ‘hands-on’ support assistance, please can you open a support thread on http://www.paidmembershipspro.com
If the user cancelled from paypal what should happen?
And if the user cancelled from site what should happen?
You said “What happens is that if the user’s account fails payment, the payment gateway will keep trying for X times before cancelling the user’s membership over a couple of days.” but I dont know in which situations this should happen.
And couple of days, how much days? 1 week? 2 weeks? can be more?!
How can I test this to know for sure it will work?
About IPN config, is this tutorial updated: https://www.paidmembershipspro.com/setting-setting-ipn-urls-paypal/
Should I do exactly what is stated? Having the messages disabled but the IPN activated? Is that it?
And if I go to “/wp-admin/admin-ajax.php?action=ipnhandler”
My IPN history was saying status “sent” when I had messages enabled on IPN handler.
After I changed to disabled as that tutorial said, all status become disabled for the new orders… Dunno if it should say disabled on the ipn history. I guess it shouldnt.
Either way, it doesnt work either.
If a user cancels from Paid Memberships Pro (within your site). This will remove their subscription from the payment gateway.
If a user cancels from the payment gateway, Paid Memberships Pro will try to cancel their subscription but I would recommend in changing their membership status to none manually.
When working with the IPN inside PayPal, it is recommended to disable the custom URL but ensure that the IPN is still on and not set to off.
You are correct in following this guide – https://www.paidmembershipspro.com/setting-setting-ipn-urls-paypal/
If you need us to troubleshoot this further for you, I would recommend in opening up a support thread on http://www.paidmembershipspro.com
Thank you for your reply.
One more question:
Is it normal to have status as disabled on the IPN history?
“Paid Memberships Pro will try to cancel their subscription but I would recommend in changing their membership status to none manually.”
When someone cancel their subscription on Paypal, PMPro should know about it, and it should expire automatically their membership plan according my configurations.
But the user still stay on the same plan after cancelling on paypal, and pmpro history of that user dont have anything about the expiration.
And even users that renew, neither those have on their history the new payment.
The only thing that it is working, is new payments.
If I put an expiration date, without using recurring payments, all works great.
But recurring payments seems to not work at all!
This is a plugin that has a free option and a paid option, but it seems you are creating problems on the free versionso people will be forced to get the paid just to have proper support.
But free plugins should have proper support too from the authors.
It just seems this plugin is broken, I’m having problems and more problems for 1 year now… Im reaching my limit :/
Plus I was thinking on buy the plan in near future, since Im interested on some addons, but how can I, if the free version is bugged and is stopping my earnings to grow?
Ok, I’ll bring another related problem but easy to spot:
When one user buy a membership plan (with one year subscription) and then after x days if that same user cancel his subscription at paypal, then his account will be cancel at the website. It shouldnt! The user should be on that group for 1 year, since he paid that year. Cancelling the subscription should only cancel when next year arrives.
And my previous problem is that when the recurring date arrives, and paypal is not able to get the money from the user and cancel his subscription at paypal, in my site nothing happens. Plus, even if paypal get the money from the user on the recurring, nothing happens on the website. No new “order”…
- This reply was modified 5 years, 6 months ago by Leinad4Mind.
You may use this following guide to cancel users when their next payment date occurs instead of immediately – https://www.paidmembershipspro.com/change-pmpro-membership-cancellation-to-set-expiration-date-for-next-payment-instead-of-cancelling-immediately/
We would need to debug your IPN setup more thoroughly by the sounds of that issue. It’s possible that your IPN is not running correctly or being blocked for some strange reason or even a misconfiguration.
Please can you open a thread on http://www.paidmembershipspro.com so a support engineer may help you troubleshoot this further.
- This reply was modified 5 years, 6 months ago by Andrew Lima.
Wow… I see what you are doing there… so basically you guys are creating problems in purpose so users will need to buy the plan so they can have it working as it should by default… Thats not an addon nor anything, its a bug, period. And for fixing a bug you force the plan. I’m spechless now. And it is not clever at all… thats a very bad move in my opinion.
- The topic ‘Doubt about Recurring Payments’ is closed to new replies.