Skip to main content

entri.purchaseDomain(config)

This method launches the Entri Sell modal. The config object includes the same set of properties as those specified in entri.showEntri(config), plus additional Sell-specific options:
For browser callback events (onSuccess, onEntriClose), see Sell Events.
This purchaseDomain method includes all the latest theming options, cobranded elements, and features such as successCallbackUrl and exitCallbackUrl. Make sure to set the appropriate fields to customize the flow according to your needs.

Possible purchaseDomain() Errors

When any of the following critical errors occur, a console error will be logged, and the user will only see “Entri is misconfigured. Please contact support for assistance.” in the UI.

Asynchronous DNS configurations (Entri Sell only)

You can make asynchronous DNS configurations after the initial Entri Sell flow has finished, with time limits depending on the registrar or plan tier.
  • For Squarespace domains, it remains available for up to 1 year after the initial domain purchase.
  • For IONOS domains, it remains available for up to 1 year after the initial domain purchase.
For IONOS domains, the 1-year async configuration window only applies to new domains ordered after December 15, 2025.
This feature allows you to add or update DNS records after the initial setup without requiring users to repeat the full flow. (Not supported on debugMode=true flows.)

Sample body:

JSON

Properties: