In order to enable/disable the checkout button in the “custom cart page” we created, we are trying to retrieve the current user’s pricing plan. The logic behind this is that, for example, the user added to cart a product which is outside his/her plan and doing so will deactivate the checkout button to prevent the purchase.
In other words, we are trying to get the information from the below screenshot.
These info are stored in the Wix dashboard under Contacts➡︎Site Members, as well as the user detailed info.
Is there any API or function we can use to retrieve these information?
Thank you in advance.