How to get more "getPricingPlans" details?

Does anyone know how to get “payment status” or “plan status” out of the “getPricingDetails” via wix code or a workaround? I understand you can see this under the “paid plans” in your dashboard, but is there a way to get it via code? I’ve thought about using Stripe’s APIs to locate my customers’ information, but then I realized there is no way of looking up my customer in Stripe using their WIX userID… or is there?

1 Like

check the expiry date on their plan… getPricingPlans( )

https://www.wix.com/code/reference/wix-users.User.html#PricingPlan

Thanks Mike, but I noticed that the expiration date (expiry) is blank if the user is set up on reoccurring payments “until user cancels”… so what happens if the user’s credit card expires a few months later and the autopay fails to go through? Would “getPricingPlans” come up empty - indicating the user doesn’t have any current active plans?