How to build a dynamic status indicator that show membership status based on payment conditions? Answered
Hi,
Is there a way or an attribute that I can use to dynamically update a 'status pill' on my site so that when a user has an active membership it displays as 'Active' in the status pill and if there's a problem with their payment, then it says "past due"
Thanks a lot in advance.
Comments
2 comments
Hi Jo,
You can achieve that with some custom Javascript code. Here’s an example you can start with - feel free to adjust it to fit your exact use case:
Can you please more details about the application. Like currently i am working on a project where there is a option for Offline Payment, when a user subscribe to offline Payment, then we just assigned him Offline Payment Plan. and as per this we show payment details on dashboard.
After manual verification of payment we just add paid plan and show all gated content.
One more thing if you used paid plans and then user failed to pay. It does not assigned to the user.
If you can share more details then i can better guide you.
Please sign in to leave a comment.