Hi, I need to be able to check a user’s payment plans via the http-functions.js file, and I’m aware that there is no way of retrieving a user object via the backend. Does the pricing plans app use a collection that isn’t visible in the Wix editor that I would still be able to query as admin in backend? Thanks.
It’s possible to get a User in the backend, however pricingPlans can only be retrieved from the frontend, and only for a currently logged in user.
You might want to request a new feature. The Wishlist Page is the official platform for requesting new features. You can vote, comment, and track the status of the requested features.
Ok I’ll make sure to do that. Do you think requesting another backend event such as an onPlanCanceled would likely be accepted? That would seem the logical approach as there is already an onPlanPurchased.
@jacobhothersall I certainly have no idea what would be accepted. I would explain what you are trying to accomplish and why. Point out the requirement that this be performed in the backend. You could then suggest certain functions that you feel would help.
Keep in mind that what you think you need isn’t necessarily the correct solution. The product architects and developers will be able to use your requirements to build the proper mechanism.