Hello @vorenus,
Thank you for using Paid Memberships Pro.
PMPro relies on payment gateways to send notifications of failed/cancelled payments via webhook or IPN. Could you please tell me what Payment Getaway is being used on your site?
Hello @mariaojob
As I said, I use GOURL as payment gateway…
The payment was approved (I paid with BTC. Yes, it was a real purchase).
I did not renew. But the account still has the Subscriber role and can access the website.
@vorenus, thank you for clarifying that.
Our Plugin does not change a users’ role by default, once a user is created they will be a user with a subscriber role. PMPro controls access to the site by their Level. By letting users keep their subscriber role even after expiry or cancellation of their membership, this allows them to be able to sign into their account on your site to purchase a new membership or renew their expired level.
Please go to your membership dashboard > Members List > check if this member still has a membership level, they should be listed under expired members. You can also check your Users List, under Membership Level, it should read None
.
Please confirm if this user still has a membership level or not? If they do not, then they should not be able to access restricted content on your site.
Hello
Ok. Yes, the account is expired.
Is it possible using a variable to avoid expired users to see my content?
I mean, for instance:
if (!is_user_paid_membership_pro_expired) {show content}
Hello @vorenus,
Expired users should not see your restricted content. They should see a message asking them to Sign up for a membership when they visit any restricted content on your website.
On the other hand, please take a look at our documentation on restricting content for the other methods that can be used here: https://www.paidmembershipspro.com/documentation/content-controls/
Kind Regards.