I seem to be having trouble with .getPricingPlans() It seems to me that something is being returned, as it doesn't seem to be null. That said, it could also just not be working. Any help with this is greatly appreciated.
I cannot get this to return anything (not even null) from an account that has no pricing plan:
user.getPricingPlans() .then( (pricingPlans) =>
let firstPlan = pricingPlans; let planName = firstPlan.name;
let startDate = firstPlan.startDate; let expiryDate = firstPlan.expiryDate; } );