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

Never really touched PricingPlans, but how does it work?

  1. You create several pricing Plans…
    Create Plan | Velo

  2. A member makes an ORDER TO A SPECIFIC PLAN…
    a) offlineOrder —> Create Offline Order | Velo
    b) https://www.wix.com/velo/reference/wix-pricing-plans-v2/orders/markaspaid

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

  1. Reading the orders-infoMember Get Order | Velo

  2. Or listing all ORDERS first… → List Orders | Velo

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…—> https://www.wix.com/velo/reference/$w/menu/menuitems

Or you use a → direct REDIRECTION to another page.

More about Pricing-Plans and ORDERS …