Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter valueproject

    (@valueproject)

    Sorry for not responding in time. I’ll copy the problem and the result of what you told me to try and didn’t work, but I tried something else that did work to see if you can help me figure out how to solve it

    The problem is that the user, for example, is subscribed to one level, and within the website, they can purchase another level that grants access to new features. So now they have 2 levels, the previous one and this new one, as we have allowed multiple levels for users. The user purchases this new level and in their user profile, they see both the previous level and that they have purchased the new level. However, until they log out and log back in again, the new features they have acquired are not updated. This is frustrating from the user’s perspective because they expect that what they have paid for will be activated automatically. The user doesn’t know that they have to log out and log back in, and this shouldn’t be the case.

    I tried clearing the browser cache but it didn’t work; however, the following did work:

    When making a purchase for the new level and reaching the confirmation window, I executed the function window.location.reload(). In this case, the new level was activated without the need to log out. EDIT: I trid this again and dosnt work, but I try another thig and I think that the porblem is in this:

    “I have a post for purchasing. So, when the user clicks, they see the ‘Join’ option, and upon clicking ‘Join,’ they are taken to the levels page. There, they select the level, purchase it, but still don’t get access until they log out and log back in.

    However, when the user goes directly to the levels page and purchases there, then goes back to the post, they have access.

    In other words, the flow doesn’t work: post payment → join → levels page → purchase → back to purchased post.

    But the flow does work: levels page → purchase → back to purchased post.

    Can you provide me with a solution?

    Thank you very much in advance.

    • This reply was modified 10 months, 1 week ago by valueproject.
Viewing 1 replies (of 1 total)