• Hi

    All of a sudden all our booking syncing has stopped working (booking.com, pitchup & airbnb).

    When i manually import the ics feeds via WPBC > settings > sync they all work fine.

    We have the shortcode setup on pages for each room type and company import in the below fashion:

    [booking-manager-import url=’https://www.airbnb.co.uk/calendar/ical/my-id’ resource_id=1 import_conditions=’if_dates_free’ from=’today’ until=’any’]

    When we visit these manually when we know there is a booking to import we get the message – Imported 0 bookings and no bookings have been added.

    We have a function in our functions.php to visit these pages as below:

    function call_url_foxglove_pitchup() {
    $url = 'https://bowrundellifestyle.co.uk/my-import-url/';
    wp_remote_get( $url );
    }

    function call_import_urls() {
    call_url_foxglove_pitchup();
    }

    Which i believe is run on every page load anyway. But yet we get nothing imported from the ics feeds.

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 17 total)
  • Plugin Author wpdevelop

    (@wpdevelop)

    Hello.

    Booking Calendar imports only events that exist in the .ics feed and that was not imported before into the Booking Calendar plugin.

    1. Firstly please recheck that your .ics feed contains events for specific dates.
    2. You can check it at the “oPlugins panel” menu page in the “Upload .ics file and show events” section by clicking on “Show Events (.ics)” button.

    2) Then recheck this troubleshooting instruction: https://wpbookingcalendar.com/faq/ics-importing-issue/

    Kind Regards.

    Thread Starter kingofwebdev

    (@kingofwebdev)

    Hi

    I understand that the booking calendar only imports unique events.

    We have specifically waited for a booking from one of the platforms to test. I have manually visited the specific page where our shortcode is for the room type and platform. I have received a message to state 0 bookings have been imported.

    I then got to the WPBC plugin > settings > sync > import- .ics and manually add the URL for the ICS feed. The booking is then successfully added to the system.

    I’ve followed the instructions for No.2 on the oPlugins panel and this is the result:

    The importing issues FAQ hasn’t solved anything.

    Plugin Author wpdevelop

    (@wpdevelop)

    Hello.

    Probably you missed to add the screenshot in your last message.

    Please be sure that in the import shortcode you are use the standard single quote symbols (like ” ” or ‘ ‘) in the shortcode and do not use non standard opening or closing quote symbols. The beast way to recheck it by retyping it from keyboard.

    [booking-manager-import url=’https://www.airbnb.co.uk/calendar/ical/my-id‘ resource_id=1 import_conditions=’if_dates_free’ from=’today’ until=’any’]

    Kind Regards.

    Thread Starter kingofwebdev

    (@kingofwebdev)

    I did add the screenshot, no idea where it went, lets try again.

    P.S Pasting screenshots is broken, just spinning.

    • This reply was modified 11 months, 2 weeks ago by kingofwebdev.
    Thread Starter kingofwebdev

    (@kingofwebdev)

    Im using standard ” in the shortcode. It has been in place since 2023 and has only recently stopped syncing.

    Plugin Author wpdevelop

    (@wpdevelop)

    Hello.
    1) Please remove this screenshot, as there visible your ID of that, ics feed.

    2) Can you recheck your import shortcode for having there correct quote symbols ?

    Thread Starter kingofwebdev

    (@kingofwebdev)

    Shortcode has the correct quote symbols screenshot below:

    Plugin Author wpdevelop

    (@wpdevelop)

    Weird… If you manually open the page in browser with this import shortcode, do you see some imported bookings, or it shows imported 0 bookings (when you are sure that the new bookings in Airbnb exists) ?

    Thread Starter kingofwebdev

    (@kingofwebdev)

    Yes when i manually visit the page it always shows imported 0 bookings. Even when we know there is a booking that hasn’t been imported yet.

    To check the feed is working and import function works i then go and manually import the ics from WPBC > Settings > Sync > import -.ics using exactly the same URL from the shortcode pages. We have a broken issue with booking.com atm but airbnb & pitchup sync the manual ics imports fine.

    Plugin Author wpdevelop

    (@wpdevelop)

    Really weird.

    1. Can you try to create a new page and insert there import shortcode, and then test such import, while you open the URL of the page in browser ?

    2. Otherwise please be sure to use latest update of Booking Calendar and Booking Manager plugins.

    Kind Regards.

    Thread Starter kingofwebdev

    (@kingofwebdev)

    Booking Calendar is currently on Business Medium SingleSite 9.1.4

    Would this make a difference? There is an update due.

    Booking manager is 2.1.12.

    When there is a new booking from a platform i will try creating a new page with the shortcode and test that.

    Thread Starter kingofwebdev

    (@kingofwebdev)

    Hi

    I have just updated booking manager to the latest version and still no luck.

    Just to recap:

    • Pages Created With the shortcode do not throw an error however do not populate any bookings and shows 0 bookings added.
    • I have tried visiting these pages manually and nothing.
    • In my functions.php i am visiting these pages and still nothing updates.
    • If i use the manual import function of WPBC importing the .ics then the bookings update.

      Any other ideas?
      Where is the code that manually imports these to the calendar can i do this in the functions.php instead of via the shortcode?
    Plugin Author wpdevelop

    (@wpdevelop)

    Hello.
    1) Did you check the points from my “first reply” in this thread, and is your .ics feed (from your shortcode) contains any bookings that was not imported before ?

    2) The function that started import located in the file ../wp-content/plugins/booking-manager/core/wpbm-shortcodes.php

    and looks like this:
    function wpbm_ics_import_shortcode( $attr ) {

    Kind Regards.

    Thread Starter kingofwebdev

    (@kingofwebdev)

    Hi

    Thanks for coming back to me, yes we went through your first reply suggestions last time and got nowhere.

    Where would the code for the below be:

    If i can trigger this manually from my functions.php or a page layout then it should offer a workaround.

    The shortcodes are not pulling correctly yet this form does.

    Plugin Author wpdevelop

    (@wpdevelop)

    1. From your screenshot, I can see that you are using very old version of Booking Calendar. Please consider to make update of the Booking Calendar to latest update 10.12.2 If you using the paid version, then contact support here support @ wpbookingcalendar.com
    2. The menu related to my first reply to you located in other place. Please open the oPlugins Panel and then Manage .ics page. Please check the attached screenshot.
Viewing 15 replies - 1 through 15 (of 17 total)

The topic ‘ICS import not working’ is closed to new replies.