[Roles][Wix Pricing Plans] Hide a page from paying customers

Question:
How do I hide a page from paying members and leave it visible to non-paying members and non-members ?

Product:
Wix Editor

What are you trying to achieve:
Hello, I would like to hide a page, (in my case the pricing plans page) from members who already bought a plan (and keep it visible for the non paying members and non-members). I didn’t find a post or anything on the internet about this so I am asking here if anyone knows a way :confused:

Never really touched PricingPlans, but how does it work?

  1. You create several pricing Plans…
    https://www.wix.com/velo/reference/wix-pricing-plans-backend/createplan

  2. A member makes an ORDER TO A SPECIFIC PLAN…
    a) offlineOrder —> https://www.wix.com/velo/reference/wix-pricing-plans-v2/orders/createofflineorder
    b) markAsPaid - Velo API Reference - Wix.com

Let’s say the user made his order and payed —> what will change the stats of order for this user…

  1. Reading the orders-infomemberGetOrder - Velo API Reference - Wix.com

  2. Or listing all ORDERS first… → https://www.wix.com/velo/reference/wix-pricing-plans-backend/orders/listorders

So check all given APIs first.

Once your code can recognize who paid a plan and who not, your next step will be to hide the page from customer.

The pages they will reach surely through a menu, in this case you can manupulate the menu…—> menuItems - Velo API Reference - Wix.com

Or you use a → direct REDIRECTION to another page.

More about Pricing-Plans and ORDERS …