Display repeater data based on logged in member price plan

Thank you @code-queen

I have checked and re-checked everything numerous times before deciding to post again here but I still haven’t been able to get the dataset to populate.

My site is published. I am attaching a screenshot of my ‘Purchases’ dataset collection as well as the updated code. Also attaching a screenshot of the permissions just to ensure that is not conflicting in any way.

import wixData from ‘wix-data’ ;

export function wixPaidPlans_onPlanPurchased(event) {

let orderData = {
“planTitle” : event.order.planId,
“data” : event.order.memberId
};

wixData.insert( "Purchases" , orderData); 

}