Skip to main content
All CollectionsWeb CheckoutFrequently Asked Questions
Is it possible to have multiple web checkouts on the same page?
Is it possible to have multiple web checkouts on the same page?
Lucia Burin Sestakova avatar
Written by Lucia Burin Sestakova
Updated this week

Yes, multiple web checkouts can be implemented on the same page. To ensure proper functionality, the following conditions must be met:

  • Single Application Script:

    The page should include only one <script> tag for the Ventrata application.

    <script src="https://cdn.checkout.ventrata.com/v3/production/ventrata-checkout.min.js" type="module" data-config='{ "env": "live"...}"></script>

    The data-config in this script should not contain an apiKey, as there will be multiple web checkouts on the page.

  • Consistent Settings:

    We recommend keeping checkout settings, such as env, lang, etc., consistent across all web checkouts by configuring them in the common application script.

  • Widget Configuration:

    Each widget must have its own data-config that includes a unique apiKey. This ensures that multiple checkouts can function on the same page.

  • Widget Modes:

    The Ventrata applications is fully functional with both pop-up and embedded modes. You can choose the mode for each widget individually.

πŸ“’ NOTE

Including multiple <script> tags for the Ventrata application may lead to issues like unexpected behaviour or slower website performance.

For additional settings refer to the Implementation Guide.

Did this answer your question?