10 months ago
Programmatic retrieval of hidden plans in the Stigg JavaScript SDK
We've extended the Stigg JavaScript SDK to allow retrieval all of the product's plans, including ones that have been marked as hidden from the Stigg pricing table widget.
The new functionality allows you to implement custom logic when presenting pricing tables to customers, for example: we offer a “limited time” plan for customers that have an annual subscription.
By default, hidden plans are not returned by the getPaywall
method. To fetch all of the product's plans, pass the includeHiddenPlans: true
parameter to the getPaywall method of the Stigg JavaScript SDK.
The new functionality is supported in the Stigg JavaScript SDK v3.1.0 or later.