I want to create an area for the people on my site that have a paid plan can monitor the hours that they have used out of their plans. When I go to CUSTOMER MANAGEMENT > SITE MEMBERS, there is a list of the members and one of the fields is the Plan that they have. I am not seeing that same info as a database that I can add to a dynamic page and then query against. Am I missing something?
I do see a Private Members DB that I can access as Read-Only but it does not seem to have the Plans field in it despite being the same users as the SITE MEMBERS that I see within the Dashboard.
Please help and thanks much!
Your question is not related to the Wix Forum, you will be better suited going through Wix Support.
Seems like a forum item, I am asking if anyone as seen this or has a solve for that?
You will need to use the APIs below.
https://www.wix.com/corvid/reference/wix-users.User.html#getPricingPlans
https://www.wix.com/corvid/reference/wix-users.html#currentUser
Hi @Christian Andersen , my name is Antanas and I work as a product manager at Wix responsible for the Paid Plans application.
Way to have orders' data is to save it in your own DB dataset in corvid (https://support.wix.com/en/article/creating-a-database-collection) every time the member purchases a plan.
E.g. of the data that can be collected and saved on every purchase of the plan:
"planName": plan.name,
"planId": plan._id,
"orderId": purchaseResponse.orderId,
"memberId": user.id ,
"dateCreated": Date().toString()
"plan" is the plan to be purchased,
"purchaseResponse" is the response we get after calling .purchasePlan (https://www.wix.com/corvid/reference/draft/wix-paid-plans.html#purchasePlan) method because it's return value is PurchaseResult (https://www.wix.com/corvid/reference/draft/wix-paid-plans.html#PurchaseResult) ,
"user" - currently logged in user https://www.wix.com/corvid/reference/draft/wix-users.html#currentUser .
You could then visualize to your customers what plans are they holding when they log in on a dynamic page.
However, I was not sure about the hours left for a plan. It seems that you want to allow your customers to have limited-time access to the forum categories. We currently don't have this functionality.
Please email me at antanasd@wix.com to have a talk about this. We will try to help you.
Happy holidays!