Paid Plans APP: Query to Get Current Users Purchased Paid Plan

It would be great if there were a query to test which paid plan the user has signed up for? I can then offer an if function statement to display certain elements on screen.

The data should already be there as I can already make certain pages available to certain users.

E.g if current user is ‘gold member’ then expand box A, if current user is ‘platinum member’ expand box B etc.

Would make offering services a lot easier. That way in the wix members pages I can put links to the pages they’ve signed up for and hide the rest - it would make it a lot less confusing for guests!

Many thanks if this is something already in the pipeline!

All the best

Thomas

1 Like

We’re aware and it is on our queue :slight_smile:

Many thanks!

Noa, can we expect this features would be available this year?

We are pleased to announce that it is now possible to check what paid plans has user signed up for using Wix code API. You can find the documentation here:
https://www.wix.com/code/reference/wix-users.User.html#getPricingPlans

How can I show all the user’s plans in a table or list? I haven’t figured out a way to do this without having a data collection.

I have the same question on how to show it in a box or table. Could you give an example?

Hi did you solve this i have same question

No unfortunately not. Let me know if you find a solution!

Hey,

I am not a corvid expert, but it seems that using the getPricingPlans function in a data fetcher function for Table should do the trick: https://www.wix.com/corvid/reference/$w.Table.html#dataFetcher