# \#wix-events-backend

**URL:** https://forum.wixstudio.com/tag/wix-events-backend/87.md

[Latest](https://forum.wixstudio.com/latest.md) · [Categories](https://forum.wixstudio.com/categories.md) · [Tags](https://forum.wixstudio.com/tags.md)

---

## [How to Automatically Update the Number of Guests Per Ticket with Wix Events?](https://forum.wixstudio.com/t/how-to-automatically-update-the-number-of-guests-per-ticket-with-wix-events/70857)

<div class="topic-metadata">

**Author:** [@Libby\_Fancher](https://forum.wixstudio.com/u/Libby_Fancher)\
**Replies:** 0\
**Last updated:** [May 11, 2025, 4:48am UTC](https://forum.wixstudio.com/t/how-to-automatically-update-the-number-of-guests-per-ticket-with-wix-events/70857 "2025-05-11T04:48:50Z")

</div>

Question: How can I set up a Wix Events ticket that automatically assigns 4 guests per ticket instead of 1? Product: …

---

## [URGENT - Backend Functions Not Deploying (404 Errors)](https://forum.wixstudio.com/t/urgent-backend-functions-not-deploying-404-errors/70294)

<div class="topic-metadata">

**Author:** [@Rezoning\_Kola](https://forum.wixstudio.com/u/Rezoning_Kola)\
**Replies:** 0\
**Last updated:** [April 14, 2025, 12:16am UTC](https://forum.wixstudio.com/t/urgent-backend-functions-not-deploying-404-errors/70294 "2025-04-14T00:16:34Z")

</div>

Hi, My backend functions (e.g., /functions/inventoryService/syncInventory) return 404 errors, even after: - Recreatin…

---

## [Use code to rename the uploaded User File before storing in Wix Media](https://forum.wixstudio.com/t/use-code-to-rename-the-uploaded-user-file-before-storing-in-wix-media/69133)

<div class="topic-metadata">

**Author:** [@Rakhi\_Gupta](https://forum.wixstudio.com/u/Rakhi_Gupta)\
**Replies:** 1\
**Last updated:** [February 26, 2025, 4:21pm UTC](https://forum.wixstudio.com/t/use-code-to-rename-the-uploaded-user-file-before-storing-in-wix-media/69133 "2025-02-26T16:21:56Z")

</div>

Question: I need advice on how to rename a user uploaded file before I store it in Wix Media. The collection also needs…

---

## [Backend events.js are not firing? On onOrderCanceled and not onOrderPurchased?](https://forum.wixstudio.com/t/backend-events-js-are-not-firing-on-onordercanceled-and-not-onorderpurchased/69100)

<div class="topic-metadata">

**Author:** [@Eric\_Fontana](https://forum.wixstudio.com/u/Eric_Fontana)\
**Replies:** 1\
**Last updated:** [February 25, 2025, 5:57pm UTC](https://forum.wixstudio.com/t/backend-events-js-are-not-firing-on-onordercanceled-and-not-onorderpurchased/69100 "2025-02-25T17:57:15Z")

</div>

Question: My events.js contains handlers to show what events are being fired. The only event firing is onOrderCancele…

---

## [Accessing Username on a Dashboard Page](https://forum.wixstudio.com/t/accessing-username-on-a-dashboard-page/63198)

<div class="topic-metadata">

**Author:** [@user3364](https://forum.wixstudio.com/u/user3364)\
**Replies:** 1\
**Last updated:** [October 8, 2024, 7:39pm UTC](https://forum.wixstudio.com/t/accessing-username-on-a-dashboard-page/63198 "2024-10-08T19:39:23Z")

</div>

Question: I have a dashboard page that is used to update a workflow, i want to figure out when someone updates an item,…

---

## [Iframe element html](https://forum.wixstudio.com/t/iframe-element-html/62718)

<div class="topic-metadata">

**Author:** [@esp\_d](https://forum.wixstudio.com/u/esp_d)\
**Replies:** 0\
**Last updated:** [September 12, 2024, 2:06pm UTC](https://forum.wixstudio.com/t/iframe-element-html/62718 "2024-09-12T14:06:51Z")

</div>

I’m having trouble making the iframe html element communicate with the page and making the page communicate with scripti…

---

## [Wix Events - Group/team Tickets](https://forum.wixstudio.com/t/wix-events-group-team-tickets/59216)

<div class="topic-metadata">

**Author:** [@Matthew\_Tudor](https://forum.wixstudio.com/u/Matthew_Tudor)\
**Replies:** 1\
**Last updated:** [June 25, 2024, 7:39pm UTC](https://forum.wixstudio.com/t/wix-events-group-team-tickets/59216 "2024-06-25T19:39:08Z")

</div>

We are hosting a large event with motivational speakers that will be ticketed through Wix Events, the event coordinator is wanting us to offer a “team ticket” or “group ticket” option. Where their ticket will be a special price if they buy 8 or more tickets, they also need to be able to print out 8 individual paper tickets to scan into the event, since its impossible for every employee of a company to all show up at the same time? Very stuck on how to resolve this. Looks like its been an issue for a few years now. I have already tried having a single ticket that is worth 8 admissions. But that wont work because there will only be one QR code generated for the ticket. Once one employee shows up and scans, it will show the ticket has already been used for the rest of the company when they show up. Is there a way to make this work? or will Wix need to implement something here?

---

## [Wix Event - collection network errors](https://forum.wixstudio.com/t/wix-event-collection-network-errors/57525)

<div class="topic-metadata">

**Author:** [@guy-tadmor](https://forum.wixstudio.com/u/guy-tadmor)\
**Replies:** 2\
**Last updated:** [March 27, 2024, 12:28pm UTC](https://forum.wixstudio.com/t/wix-event-collection-network-errors/57525 "2024-03-27T12:28:25Z")

</div>

I’ve customized the Event page and extract the ticket and event information from the wix-events collection, i.e Events and Tickets. I’ve noticed that on the live site 2% of the queries to these collection causes network error or other errors and due to that event or ticket data are not returned. I’ve tried many things to resolve this but none resolve it completely. Copying the ticket definition data to my collections will be problematic in case of tickets as I will need to manage the purchased tickets as well when there’s a limit on a specific ticket. Is there a solution for this?

---

## [Hiding Wix Events Ticket Download Button on Payment](https://forum.wixstudio.com/t/hiding-wix-events-ticket-download-button-on-payment/55526)

<div class="topic-metadata">

**Author:** [@user1251](https://forum.wixstudio.com/u/user1251)\
**Replies:** 1\
**Last updated:** [January 22, 2024, 4:55pm UTC](https://forum.wixstudio.com/t/hiding-wix-events-ticket-download-button-on-payment/55526 "2024-01-22T16:55:25Z")

</div>

Question: We need to disable and/or hide the PDF and PKPass download button from the purchase completion page. Product…

---

## [Retrieving Wix events data with velo](https://forum.wixstudio.com/t/retrieving-wix-events-data-with-velo/54545)

<div class="topic-metadata">

**Author:** [@user921](https://forum.wixstudio.com/u/user921)\
**Replies:** 2\
**Last updated:** [December 18, 2023, 10:15am UTC](https://forum.wixstudio.com/t/retrieving-wix-events-data-with-velo/54545 "2023-12-18T10:15:50Z")

</div>

I am trying to retrieve Wix event data so I can create my own events “repeater” but I cannot figure out how. I have installed the Wix Events app and have set up some events. On the page that I want to display a list of events I am using the code below that I found on the Wix velo guide, but it does not work. For starters it doesn’t recognise the 1st line. It says: "‘wixEvents’ is declared but its value is never read. Cannot find module ‘wix-events-backend’ or its corresponding type declarations" ----CODE----------------- import { wixEvents } from “wix-events-backend”; export function myQueryEventFunction() { return wixEvents.queryEvents() .hasSome(“status”, \[“SCHEDULED”\]) .descending(“createdDate”) .find() .then((results) =\> { const items = results.items; const firstItem = items\[0\]; return firstItem; console.log(“I found an event item”); }) .catch((error) =\> { console.error(error); }); } If anyone has the code to open and loop through events data that would be app…

---

## [\[Velo\] Exporting orders via external API on order creation](https://forum.wixstudio.com/t/velo-exporting-orders-via-external-api-on-order-creation/54570)

<div class="topic-metadata">

**Author:** [@Marian\_Siminescu](https://forum.wixstudio.com/u/Marian_Siminescu)\
**Replies:** 2\
**Last updated:** [December 14, 2023, 7:46am UTC](https://forum.wixstudio.com/t/velo-exporting-orders-via-external-api-on-order-creation/54570 "2023-12-14T07:46:31Z")

</div>

Question: Export order data to external API on order creation Product: Wix Velo What are you trying to achieve: I w…
