unlock icon indicating copy to clipboard operation
unlock copied to clipboard

Filter memberships by renewal status

Open Calla-Ji opened this issue 2 months ago • 2 comments

This is the background of the users request: "I am developing a token-gated membership site at https://community.pgpforcrypto.org. I struggled for a bit trying to figure out how to ensure memberships get auto-renewed. After posting in Discord and getting feedback, I was able to determine the issue -- I had changed the contract price and subscribers had not given approval for future payments. I added the approval functionality to my site and it seems that auto-renews are going to work.

The reason I struggled so much with this was, in part, due to the subscriber status displayed on the Unlock Protocol dashboard. Instead of giving me an accurate status about the user needing to give USDC spend approval, I received a message about the user's balance being too low, which wasn't actually the case.

Image

Going forward, I would love to be able to run a filter on all memberships in the UP dashboard to show me which subscriptions are not set to auto-renew."

Describe the solution you'd like There are two requests belonging to the same category of recurring subscriptions:

  1. Correct error message report from "user's balance being too low" to saying something like "user budget spent" (or similar - it might be useful to ask Paul Brigner directly in the Discord).
  2. Add a filter to the lock dashboards that allows lock owners to filter the keys by auto-renew.

Conversation thread in the Unlock Discord: https://discord.com/channels/462280183425138719/1401157301922037873/1415400805422334002

Calla-Ji avatar Sep 28 '25 20:09 Calla-Ji

On the membership UI, we should add another filter to allow filtering my membership status (will renew, won't renew for reason X, Y or Z). To support this, you will need to update the API endpoint that lists memberships to include the filter). Make sure these filering options only show up on the UI for locks that are recurring.

julien51 avatar Oct 15 '25 17:10 julien51

should be doable whats the bounty amount on this one @julien51?

nopbody avatar Oct 17 '25 09:10 nopbody