Can we hook a ticket purchase

Home Forums Welcome! Pre-Sales Questions Can we hook a ticket purchase

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1109516
    Fred
    Guest

    Hi,

    Does event Calendar have any functions or hooks available such as if I have my own system for selling tickets I can add a hook or a function to pass the data to the even the ticket was purchased.

    So it keeps track of the users within Event Calendar ?

    Thank you,
    Frederick

    #1109636
    Josh
    Participant

    Hey Fred,

    To clarify, you have your own way for selling tickets on your site. What you’re looking to do is create tickets there and when they’re sold have them update the event with user that purchased the ticket?

    If that’s correct, you wouldn’t need any hooks on our side to accomplish this. Overall, a basic approach might be:

    • Create meta on the ticket to connect it to the event
    • When sold, your ticket solution would need a hook that you could hook into
    • Run a function on that hook to update post meta for the associated event
    • This post meta could be an array of the users that have purchased

    Let me know if this helps.

    Thanks!

    #1115419
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Can we hook a ticket purchase’ is closed to new replies.