How to connect Seatmap Pro to eventyay

The Seatmap Pro seating plugin shows a venue that you drew in the Seatmap Pro editor on the seat selection page of eventyay. Buyers pick their seats on that map. Prices, reservations, the cart, and orders stay in eventyay, and Seatmap Pro supplies the venue drawing and the map the buyer clicks on.

The plugin is an early version. It is tested on the eventyay dev branch, both by its test suite and by hand in a browser.

What you need

  • A Seatmap Pro account. Its organization settings hold the organization token and the public key.
  • A venue drawn in the Seatmap Pro editor and a published event on that venue.
  • Access to your eventyay server, so that you can install Python packages and restart its services.

Install the plugin

Install the plugin into the Python environment that runs eventyay:

pip install seatmap-pro-seating

The plugin ships a script for the seat selection page. After the install, run the plugin install steps from the eventyay documentation, which apply migrations and rebuild the static files:

python -m eventyay migrate
python -m eventyay rebuild

Restart the web and worker processes. If you run eventyay in Docker, add the pip install line to your own image as the eventyay Docker guide describes, and rebuild the image.

Then open your event, go to Settings > Plugins, and select Enable next to Seatmap Pro.

Find your Seatmap Pro values

The plugin asks for three values from Seatmap Pro.

  • The organization token and the public key are on the organization page of the editor’s Admin panel. The getting started guide calls them the Secret API key and the Public API key.
  • The event ID is the last part of the editor address when you open the event from the Events Hub. The address has the form /app/venues/{venueId}/schemas/{schemaId}/events/{eventId}.

Set up an event

  1. In the ticket settings of the event, open Seatmap Pro.
  2. Fill in the organization token and the public key. Add the ID of the Seatmap Pro event, then select Load venue.
  3. Each Seatmap Pro pricing zone appears as a seat category. Choose the product sold for each one and select Save seating plan.

Leave Booking API address at its default value unless you run Seatmap Pro on premise. For an on-premise installation, the server administrator first adds its Booking API host to the SEATMAP_PRO_ALLOWED_API_HOSTS environment variable and restarts the web process. The plugin sends the organization token to no other address. To keep seats of a zone off sale, leave its category at Not for sale.

The plugin stores the plan in the seating model of eventyay, one seat per Seatmap Pro seat. A seat keeps its ID when you edit the venue in Seatmap Pro and load it again. If the new plan removes a seat that is already sold, eventyay refuses it.

The token field stays empty after you save it. Leave it empty to keep the saved token, or type a new one to replace it.

What the buyer sees

The map appears on the event page, on the voucher page, and on the page for choosing seats. There the plugin loads the Seatmap Pro renderer and shows the venue. Only seats that are free in eventyay can be selected, and they show the price of the mapped product. Below the map, the buyer sees the number of selected seats with their total and an Add to cart button.

The selected seats go to the cart through the standard seat fields. From there, eventyay checks availability and quotas the same way as for any other seated event. The cart shows the section and row of each seat next to its number.

The organization token stays on your server. The browser receives only the public key and the event ID.

Privacy and security notes

  • The renderer is the published npm package @seatmap.pro/renderer, version 1.75.0. The page loads it from cdn.jsdelivr.net.
  • The renderer reads the venue from the Seatmap Pro public API.
  • On pages that show the map, the plugin extends the Content Security Policy with the hosts the renderer needs. It also allows images over https: for the venue background.

Limitations

  • Event series are not supported.
  • Products with variations cannot be mapped to a pricing zone.
  • Standing areas from Seatmap Pro are not imported.
  • The price on the map is the default price of the product. Vouchers apply in the cart.

Troubleshooting

Seatmap Pro is missing from the plugin list of the event. A platform administrator controls which plugins organizers see. In the admin area, open Plugins, go to the External Plugins tab, and check that Seatmap Pro is active and shown in the organizer plugin list.

Seatmap Pro does not appear in the ticket settings. Check that the plugin is enabled for the event and that you restarted the web process after the install. The menu entry is visible only to users who can change event settings.

The page says that the venue could not be loaded. The message ends with the reason.

  • If Seatmap Pro returned HTTP 401 or 403, the organization token is wrong or belongs to another organization. Copy it again from the Admin panel.
  • If Seatmap Pro returned HTTP 404, check the event ID and the public key. Both must come from the organization that owns the event.
  • If the message says that the server administrator has not allowed a host, the Booking API address points to a host that is missing from SEATMAP_PRO_ALLOWED_API_HOSTS. Ask the administrator to add it, or go back to the default address.
  • If Seatmap Pro is not reachable, your server cannot open an HTTPS connection to the Booking API address. Check the outgoing firewall rules and the proxy settings of the server.
  • If the message says that the event has no seats with numbers, the venue contains only standing areas, which the plugin does not import.

The page says that event series are not supported. The event has dates of a series. Create a single event for the seated show.

Saving the seating plan fails because of a sold seat. The new venue version removes a seat that a buyer already holds. Restore the seat in the Seatmap Pro editor and load the venue again. If the seat has to go, cancel its order in eventyay first.

Buyers see an empty area instead of the map. Open the browser console on the seat selection page. If it reports a blocked script or request, your web server or proxy probably replaces the Content-Security-Policy header. Compare that header with the one the plugin sends and add the same hosts to your server configuration.

A pricing zone has no seats for sale. The zone is mapped to Not for sale, or the mapped product is not on sale at the moment. Check the mapping on the Seatmap Pro settings page and the availability of the product.

The plugin code and its issue tracker are in the seatmap-pro-seating repository on GitHub. For the pretix version of this guide, see How to connect Seatmap Pro to pretix.

Type a feature, setting, endpoint or SDK method.