Membership Plugin

WordPress Membership Plugin

  • Home
  • Documentation
  • Addons
  • Support
    • Quick Setup
    • Documentation
    • Premium Addon Support
    • Paid Support
    • Support Forum
    • Support Forum Search
    • Forum Login
    • Forum Registration
  • Contact

[Resolved] Subscription Payment Cancellation Settings

Simple Membership Plugin › Forums › Simple Membership Plugin › Subscription Payment Cancellation Settings

  • This topic has 14 replies, 4 voices, and was last updated 7 years ago by admin.
Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • May 22, 2018 at 3:31 pm #14473
    kevinjrr
    Participant

    I am confused on how I shoudl set up a membership level.
    I currently have a subscription payment membership level that is a recurring payment every 30 days. I have the “Access Duration” setting set to “No Expiry”.
    I have a subscriber who has cancelled their automatic payment before the 30 days is up, but their account still shows active. Is this correct? I thought that once they cancelled the payment their account would be deactivated? Reading the documentation here: https://simple-membership-plugin.com/what-happens-when-paypal-subscription-cancelled/ it makes it seem like their account should show as inactive as soon as the payment is cancelled.

    Here is what I desire the level to be set up as, so could someone help me with the correct settings?
    1) Subscription payment every 30 days
    2) I want users to have access to the level-protected areas for the duration of the 30 days, even if they cancel payment early, so that they get what they paid for. Access should then be removed if payment is not received after the 30 days.
    3) Some users may cancel payment, and then re-join later on. I want to make sure their “profile” remains and doesn’t get deleted in case they re-join.

    May 22, 2018 at 4:40 pm #14474
    The Assurer
    Moderator

    Please turn on debugging, and have someone cancel a subscription. There should then be a series of entries in the debug logs that look something like:
    [03/18/2018 2:45 PM] – SUCCESS: Subscription cancellation IPN received… (handled by the subscription IPN handler)
    [03/18/2018 2:45 PM] – SUCCESS: Refund/Cancellation check – lets see if a member account needs to be deactivated.
    [03/18/2018 2:45 PM] – SUCCESS: Subscriber ID is present. Retrieving member account from the database. Subscr_id: I-R9TJFDGLS380

    May 22, 2018 at 5:29 pm #14475
    kevinjrr
    Participant

    the debug log file has the following:
    [05/22/2018 10:19 AM] – SUCCESS: Subscription cancellation IPN received… (handled by the subscription IPN handler)
    [05/22/2018 10:19 AM] – SUCCESS: Refund/Cancellation check – lets see if a member account needs to be deactivated.
    [05/22/2018 10:19 AM] – SUCCESS: Subscriber ID is present. Retrieving member account from the database. Subscr_id: I-2G1SAE2TALS8
    [05/22/2018 10:19 AM] – FAILURE: No associated active member record found for this notification.
    [05/22/2018 10:19 AM] – SUCCESS: Paypal class finished.

    However, the member still shows as “active” in the account state in the plugin settings.

    Is this right?

    May 23, 2018 at 12:15 am #14481
    admin
    Keymaster

    When the plugin took the subscriber ID value from the cancellation notification and tried to do a look up to find the member account it refers to, it couldn’t find any profile that has that subscriber ID attached.

    If you edit the member’s profile in question from the admin interface then look at the “Subscriber ID/Reference” field value, what do you see there? Is that value set to “I-2G1SAE2TALS8”?

    May 23, 2018 at 4:13 pm #14487
    kevinjrr
    Participant

    Yes, that value is there for that member.

    May 24, 2018 at 1:35 am #14490
    admin
    Keymaster

    Does it match to the following value though? Did you do a search to make sure it totally matches with it?

    
    I-2G1SAE2TALS8
    
    May 24, 2018 at 2:21 am #14491
    kevinjrr
    Participant

    Yes, it is an exact match

    May 24, 2018 at 2:41 am #14492
    admin
    Keymaster

    That is super strange then. There is no reason for it to not find the record in that case. I have tried to reproduce this in my test site but it just works there. So I am not sure if there is a conflict with something somewhere on your site. How often does this happen on your site?

    May 24, 2018 at 2:43 am #14493
    kevinjrr
    Participant

    I haven’t had the site live very long, so this is the first cancellation I’ve had. Should I try to reproduce it with a sandbox account?

    May 24, 2018 at 4:25 am #14494
    The Assurer
    Moderator

    No! PayPal sandbox is not intended for testing this. But come to think of it… you are using “live EVERYTHING,” right?

    May 24, 2018 at 11:26 am #14502
    kevinjrr
    Participant

    yes, it is live. I originally tested a one-time payment and a subscription payment using sandbox before going live.

    May 24, 2018 at 6:01 pm #14505
    The Assurer
    Moderator

    Ummm, that subscription that you started under Sandbox; is it the one you are having problems with?

    May 24, 2018 at 6:28 pm #14506
    kevinjrr
    Participant

    No, the problem was with an actual user with a real paypal payment. The sandbox was just used to test before going live.

    April 20, 2019 at 1:43 pm #17938
    KEN
    Participant

    I have exactly the same issue.

    User canceled the payment, but the account still shows active.

    The debug log file has the following:
    [04/20/2019 1:07 PM] – SUCCESS: Subscription cancellation IPN received… (handled by the subscription IPN handler)
    [04/20/2019 1:07 PM] – SUCCESS: Refund/Cancellation check – lets see if a member account needs to be deactivated.
    [04/20/2019 1:07 PM] – SUCCESS: Subscriber ID is present. Retrieving member account from the database. Subscr_id: I-PBTS3NFH86G1
    [04/20/2019 1:07 PM] – FAILURE: No associated active member record found for this notification.
    [04/20/2019 1:07 PM] – SUCCESS: Paypal class finished.

    But the member who has “Subscr_id: I-PBTS3NFH86G1” is exist.

    April 21, 2019 at 5:40 am #17940
    admin
    Keymaster

    Thank you. I have just fixed a minor bug for this and released a new version. Please update the plugin to v3.7.9 (or higher). You should not see this issue after that.

  • Author
    Posts
Viewing 15 posts - 1 through 15 (of 15 total)
  • You must be logged in to reply to this topic.
Log In

Please read this message before using our plugin.

Search

Featured Addons and Extensions

  • Membership Form Builder Addon
  • Member Directory Listing Addon
  • WooCommerce Payment Integration
  • Member Data Exporter Addon

Documentation

  • Documentation Index Page

Copyright © 2026 | Simple Membership Plugin | Privacy Policy