1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Awaiting Feedback Subscription canceled. User Status not updated

Discussion in 'Resolved Bug Reports' started by Ghostaunt, Feb 25, 2015.

  1. Ghostaunt

    Ghostaunt Active Member

    Hello,

    I have a bug on my forum with subscriptions..
    An user had canceled his monthly subscription and his status was not updated.

    The first paiement was the 21 december
    The second was the 21 january
    And he has stopped his subscription the 19 february. So the third paiement was not done, and his subscription was not expirated on my admin panel.
    I had to manually cancel his subscription today because he was always premium..
    On my logs I have in 19 february this line :
    Thanks for your help.
     
  2. Mike

    Mike XenForo Developer Staff Member

    If you've since cancelled his subscription manually, it's unlikely that we can really do any debugging. I would have needed to see what was in the "active upgrades" page for him. (If you just changed his user group, please check the active upgrades page to see what's there for this user.)

    Note that cancelling a subscription doesn't do anything instantly so there isn't an action to take. It just stops any further payments which would cause it to downgrade once the end date was reached.
     
  3. Ghostaunt

    Ghostaunt Active Member

    Oh, I have clicked on "Downgrade" in this page this morning... :/
    Can I retrieve data also in database ? I think you wanted the "End time" value ?
     
  4. Mike

    Mike XenForo Developer Staff Member

    Well have a look at the expired user upgrades page -- what does the end date show for this user?
     
  5. Ghostaunt

    Ghostaunt Active Member

    There is "Today" (I think because I've stopped his sub today ? )
     
  6. Mike

    Mike XenForo Developer Staff Member

    Ahh, I misread the code. There's a value that isn't exposed to the UI so you'll need to check the xf_user_upgrade_expired table directly to read it. It's the original_end_date field for this user's upgrade (you'll need to identify it by the user_id and user_upgrade_id). What value does original_end_date show?
     
  7. Ghostaunt

    Ghostaunt Active Member

    I have this value :
    1426892400 => 21-03-2015

    Really strange as he doesn't have paid :eek:
     
  8. Mike

    Mike XenForo Developer Staff Member

    Can you search the transaction log for entries relating to this user?
     
  9. Ghostaunt

    Ghostaunt Active Member

    Yes of course !

     
  10. Mike

    Mike XenForo Developer Staff Member

    Was anything ever done to this user to manually give the user the upgrade? I don't see any reason for it to have happened like this unless the user already had the upgrade for 1 month when the payment came through. That would have extended it by a month (which, since they had a month left, would mean they then had 2 months left).

    Are you running any add-ons that relate to user upgrades?

    Otherwise, I don't see anything to indicate that this should have happened. Does this extra month appear for any other users?
     
  11. Ghostaunt

    Ghostaunt Active Member

    No, nothing...

    I have any add-ons related to user subscriptions/upgrades

    This is the first time that an user cancelled his subcription. So I don't know at the moment... We will see when another user will have cancelled his sub :/
     

Share This Page