Zoom end with order complete

As we created the booking and booking got accepeted it created zoom meeting but when the order is complted and mark complted by vendor the zoom meeting access is still allowed in booking tab its not getting ended .

I want that as i am using marketplace with booking and as booking service deliverd zoom also should be ended with that .

Hi,

Could you please clarify the issue?

The flow should be that the link is generated for a specific meeting. Once the booking is completed and the meeting time has passed, the meeting should normally be considered past, and, depending on Zoom’s behavior, the link may become inactive on Zoom’s side. Could you please confirm how this works in your case?

Any additional details about the behavior you’re seeing (for example, the link still opens after the meeting time) would help us better understand the situation.

ok Suppose someone booked meeting of 30 january date of 9 am to 10 am time its paid ( As paid is worked only using marketplace plugin ) but if user booked this on date 28 january so the link is opened from 28 january till 30 january 10 to am .

But its not happening this way also if booking is of supoose 30 january 9 am to 10 am but zoom meeting for vendor and customer its available to be join after time slot duration as in example after 10 am also to do meeting on zoom it end whole point of paid zoom meeting as they can do that meeting whenever they need .

I don’t quite understand the issue you’re describing. The Zoom integration doesn’t just provide a generic link, it generates a specific Zoom meeting through the Zoom API based on the exact start and end time of the booking, and then attaches that meeting link to the booking.

Could you please clarify what’s happening? If needed, we can test this on a development site to better understand the issue you’re experiencing.

Since this request is related to a premium product, could you please add your license key to your community account in the profile settings? If your support period has expired, you might want to consider renewing it.

But its not happening like that i followed the zoom integration video of youtube that is published on youtube chaneel : https://youtu.be/AuxNtvfLDE4?si=NfZ_8_2iF9cQR1dD

As i explained in detail the zoom link while not acting time bound its making generic link as explained previously supoose 30 january 9 am to 10 am but zoom link is available for vendor and to join all the time not time bound as per booking time . tell me the steps by which i acheive the booking time bound zoom link.

Thanks for the clarification. We were able to reproduce the issue and have added it to our bug tracker.

If this feature is critical for you, please let us know, and we can check if there’s a temporary workaround available until the issue is resolved.

it is tell me how i solve this issue give me temprary code or permanent fix as its major issue .

Not for me for all who are planning as good feature but its not working for all .can i get quick response as i know policy is of 24 hrs wait time but can i get quick reply how to solve it . tell me next reply way to solve this i am waiting for reply for long hours .

We can try to provide a temporary solution for you.

However, could you please activate your support first? The license key you’re currently using appears to be in use by another user on the forum (@Renterworld). If that’s your account, please respond through that one instead.

Thanks for your understanding.

yes thats my account can you please give me solution for now .

Please provide the permanent solution also as it important for all to get that solution .

Hi,

Please use this code snippet and adjust it to your needs. It reveals the Zoom link one hour before the booking:

add_filter(
    'hivepress/v1/models/booking/fields',
    function ( $fields, $booking ) {

        $start_time = get_post_meta( $booking->get_id(), 'hp_start_time', true );

        if ( $start_time && current_time( 'timestamp' ) < ( $start_time - HOUR_IN_SECONDS ) ) {

            if ( isset( $fields['zoom_join_url'] ) ) {
                $fields['zoom_join_url']['display_template'] =
                    'The meeting link will be available one hour before the booking starts.';
            }
        }

        return $fields;
    },
    1000,
    2
);

Hope this helps.

the problem is still there the zoom meeting is not ending after the time slot of booking is ended customer vendor still connect after the booking slot also.

Hello can you give solution As its major problem for All. Everyone need solution in that please give meeting is not ending on time .

Here’s an updated snippet:

add_filter(
    'hivepress/v1/models/booking/fields',
    function ( $fields, $booking ) {
        $start_time = get_post_meta( $booking->get_id(), 'hp_start_time', true );
        $end_time = get_post_meta( $booking->get_id(), 'hp_end_time', true );
        
        if ( $start_time && $end_time && isset( $fields['zoom_join_url'] ) ) {
            if ( time() < ( $start_time - HOUR_IN_SECONDS ) ) {
                $fields['zoom_join_url']['display_template'] =
                    'The Zoom link will be available one hour before the meeting starts.';
            } elseif ( time() > ($end_time + (5 * MINUTE_IN_SECONDS)) ) {
                $fields['zoom_join_url']['display_template'] =
                    'The meeting has ended and the link is no longer available.';
            }
        }
        
        return $fields;
    },
    1000,
    2
);

Please note that this is a temporary fix and it works by revealing the link one hour before the meeting and hiding it five minutes after the meeting has ended.

A post was split to a new topic: How to make attachment and delivery note required

Thank you its working perfectly you are the best .Always helped from your side whenever is needed . please add this option in next update as its needed to all . thank you again . can you help with this problem also.

1 Like

Glad to help!

We’ve added it to our tracker, so this should be addressed in the next Bookings update.