Home Forums Event Espresso Premium Ticket Notice Trigger

Ticket Notice Trigger

Posted: August 8, 2018 at 7:03 am


August 8, 2018 at 7:03 am

Hi i would like to customize the php function of the corresponding trigger (Ticket Notice) to send automatically when the registration status is Approved, i dont need to check the transactions status or the payment status..where i can find the function in order to change it as desired (to be triggered only from the registration status) ?



  • Support Staff

August 8, 2018 at 7:24 am

Hi gint,

You actually don’t change the function, this already happens. When a registration status changes to Approved, the Ticket notice is triggered. If that’s not happening on your site, maybe you’ve changed some of the related functions?


August 8, 2018 at 7:46 am

No i have not change any function, the difference is that i register the attendee through the api endpoint (/v4.8.36/registrations with the following keys
“REG_final_price”: 20.00,
“REG_paid”: 20.00

..on the registration panel the registration is approved but the mail is not triggered..


  • Support Staff

August 8, 2018 at 7:59 am

OK, so this isn’t happening via the admin UI or frontend UI. The thing about adding registrations via the API is the actions hooks do not fire. So there’s nothing listening for a registration added by the API.

Since this is a developer-related question I can advise opening an issue on Github and ask for developer feedback. They’ll likely be able to give you a few ideas on how to approach this. Please use the label “Question” when posting the issue on Github.


August 8, 2018 at 8:14 am

ok thanks..i would do it
Finally i would like to ask where i can find the algorithm that produced the REG_url_link so when i use the api to register a user to produce a compatible url there any specs about the value of that key..for example should be 34 characters long


  • Support Staff

August 8, 2018 at 8:33 am

You’ll find that in the source:

The important things are the REG_url_link must be unique, and the database field has a 64 character limit.

The support post ‘Ticket Notice Trigger’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  Josh 7 months, 2 weeks ago ago

Topic Tags


This topic is: not resolved
Do NOT follow this link or you will be banned from the site!