Retrieves a pricing plan by the specified ID.
The getPlan()
function returns a Promise that resolves to a plan whose ID matched the specified ID.
This function requires elevated permissions and runs only on the backend and on dashboard pages.
Plan ID.
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.