I have built a membership app, when the number of available memberships = 0 then I have button replacing the purchase button to add to a waiting list = list of users.
I need help with making this all work, I want to send user 1 on the waiting list a link to a purchase page that sends them to stripe when there is a space free, I can do this as if the users waiting on the list is empty I can just have the purchase button come up again however.
if available spaces = 1 and waiting list is not empty I need to send them some short of notification.
some ideas I have.
when a user cancels membership create notification to send the reviving user (first user) on waiting list, to purchase page if waiting lists is not empty.
Is there a better way of doing this i.e. with custom actions that I am missing?