Did this end up working for you?
I’m looking to do something similar. Only i’m not allowing my users to “purchase” their plan via the website. I plan on adding the plan to their account via the Wix dashboard. So there’s no front-end trigger to add this record into the custom database (Puchases). Is there a way to automate it without the front-end piece? If i can automatically populate a database with user ID, their assigned plan ID and plan name, i can then use this database to filter my repeater’s dataset. My repeater’s dataset would have a field for each product tagged with the specific pricing plan so only users with that pricing plan can see specific products.
Another thought i had was around the Subscriptions database. There isn’t one that we can see in the database collections. But the website somehow queries each user’s subscription plan when it shows it in their Member’s area. So each user’s pricing plan is stored somewhere. Is there a way to query that onReady? If yes, then technically we can filter repeater’s dataset using each user’s Pricing Plan name/id…
Does anyone have any ideas on how to make this work? My coding skills are amateur at best ![]()