getPricingPageOptions( )


Returns the options set for the current Plans & Pricing page.

The getPricingPageOptions() function retrieves the options set for the Plans & Pricing Page in navigateToPricingPage(). The returned PricingPageOptions object also includes any options set for the Checkout and Thank You pages.

Call this function in the page code of a default or custom Plans & Pricing page. If you need to pass the returned pricing page options to navigateToCheckout() at a later point, store the options object globally so you can access it later.

Note:

  • To work with the Pricing Plans API, you need to publish your site.
Method Declaration
Copy
Request
This method does not take any parameters
Returns
Return Type:Promise<PricingPageOptions>
Was this helpful?
Yes
No