Upgrade from 2 to 3, Offline payment

WordPress Event Management, Calendars & Registration Forums General Question Upgrade from 2 to 3, Offline payment

This topic contains 3 replies, has 2 voices, and was last updated by  Stephen Harris 1 month, 2 weeks ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #36784

    Hi,

    We are currently using Event Organiser Pro 2 on our live site but I have been testing version 3 locally (currently 3.0.7), both for a new site and for upgrading and have a few questions.

    We only use offline payment and do not want the status ”pending” at all so therefore the solution presented here has been working great previously:
    https://wp-event-organiser.com/forums/topic/sending-booking-email-confirmation-automatically/

    1. With version 3 this doesn’t seem to work anymore, is there an update available?

    2. With version 3 there is a new extra step added before any bookings are saved (choosing payment option), since we only have offline payment could you please explain how this extra step could be avoided?

    Thanks!

    AK
    #36793

    From version 3 onwards, you would need to use the following code to automatically confirm an offline booking:

    add_action('eventorganiser_offline_payment_initiated', function($booking){
         eo_confirm_booking($booking->id(), true);
    });
    

    At present, the extra step can’t be avoided.In the new year I’ll be looking at whether that can be simplified.

    Stephen Harris
    #36845

    Is it ok to stay on version 2 for a little while longer?
    …are there anything important changes if I’m on the latest WordPress?

    AK
    #36856

    No, version 3 was primarily about ensuring the plug-in will strong customer authentication ready – which is not relevant for offline bookings. So there’s no immediate need for you to upgrade.

    Stephen Harris
Viewing 4 posts - 1 through 4 (of 4 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.