Blank Email sent when event ticket is purchased

Home Forums Calendar Products Community Events Blank Email sent when event ticket is purchased

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1092683
    Isaac
    Participant

    When a event ticket is purchased a blank email is being sent out. The subject line is as per the subject line found in the woocommerce ticket email settings page, but there is no body to the email when it is received.

    Where should I look to fix this problem?

    #1093186
    Geoff B.
    Member

    Good evening Isaac and welcome to the Events Calendar Support forum!

    Thank you for reaching out to us.

    We are sorry to hear about the blank email issue you have been experiencing.
    I would love to help you with this topic.

    The first thing I would recommend is reinstalling the Events Tickets Plus plugin (overwriting it’s current files).

    Next, if the issue is not gone. Could you also please go through our testing for conflicts procedure (preferably in a staging/dev environment or local install of your WordPress website) and let us know what you find out.

    Basically the goal here is to revert back to a bare WordPress installation to see if the problem persists. It also allows us to pinpoint what the cause of the issue is as fast as possible.

    Let me know how that goes.

    Best regards,
    Geoff B.

    #1093200
    Isaac
    Participant

    This reply is private.

    #1093779
    Geoff B.
    Member

    Good evening Isaac,

    To be able to test in your staging/test environment while using your licenses properly, I recommend you read the following article on that very topic: https://theeventscalendar.com/knowledgebase/moving-your-license-keys/

    Let me know how that goes.

    Best regards,
    Geoff B.

    #1096586
    Geoff B.
    Member

    Hey Isaac,

    After some extra research, this has been identified as a bug.

    Unfortunately, I cannot commit to a release date at this point. But you will be contacted as soon as it’s fixed.
    We apologize for the inconvenience.

    In the meantime, we have a temporary solution.

    Could you add the following piece of code in the functions.php of your theme:
    get_items() as $line_item ) {
    if ( tribe_events_product_is_ticket( $line_item['product_id'] ) ) {
    $contains_tickets = true;
    break;
    }
    }

    if ( ! $contains_tickets ) {
    add_filter( 'woocommerce_email_enabled_wootickets', '__return_false' );
    }
    }

    // Listen out for the ticket-email trigger then intervene early
    add_filter( 'wootickets-send-tickets-email', 'stop_empty_ticket_emails', 5 );

    Best regards,

    Geoff B.

    #1101035
    Geoff
    Member

    Hey there!

    I just wanted to chime in and let you know that Event Tickets and Event Tickets Plus 4.1.2 were just released and included a patch for this issue. Please update to the latest version when you have a chance and let us know if you continue to have any issues. You can also remove the snippet that was provided to you as a workaround. 🙂

    Thanks so much for your patience while we worked on this!

    Geoff G.

    #1107188
    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 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Blank Email sent when event ticket is purchased’ is closed to new replies.