Direct confirmation "Offline-Booking" not working

WordPress Event Management, Calendars & Registration Forums General Question Direct confirmation "Offline-Booking" not working

This topic contains 1 reply, has 2 voices, and was last updated by  Stephen Harris 7 months, 2 weeks ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #36750


    I used the following script to auto-confirm offline bookings for the last years. Not it seems the action inside the funtions.php is not working anymore:

    add_action( 'eventorganiser_pre_gateway_booking_offline', 'automatically_confirm_offline_booking' );
    function automatically_confirm_offline_booking( $booking_id ){
        eo_confirm_booking( $booking_id, true );

    Any idea why this is not working and how i can fix this? This is very important for me.

    Thank you so much for your help and best regards

    Pascal Bieri

    Hi Pascal,

    Try the following instead:

    add_action('eventorganiser_offline_payment_initiated', function($booking){
         eo_confirm_booking($booking->id(), true);
    Stephen Harris
Viewing 2 posts - 1 through 2 (of 2 total)
To enable me to focus on Pro customers, only users who have a valid license for the Pro add-on may post new topics or replies in this forum. If you have a valid license, please log-in or register an account using the e-mail address you purchased the license with. If you don't you can purchase one here. Or there's always the WordPress repository forum.