Important!!! Check actual Support Forum, if you need to ask a Questions.
I have continued to try to sync all your links aren't working. Nothing is working to get my google calendar synced. I have emailed you several times with screen shots but no response. Where can I get help from you guys because clearly I need more help than just sending me a link.
Hello.
We have sent response to your email on 18th of January. Please check spam folder, if you do not see it in inbox.
Here is copy of email.
Hello.
1) If you are using import of google events from the public Google Calendars via API, so then please be sure that you correctly copy/paste ID of calendars.
Its must be not the ID like this "vcjhSDGSDGDFGDFGDFHFGucjvs" but ID of your calendars similar to this "vcjhSDGSDGDFGDFGDFHFGucjvs@group.calendar.google.com".
Please note, you need to copy this option "Public address in iCal format" (or you can try to use URL from this option "Secret address in iCal format", as well ) at the settings of the Google Calendar,
Hello.
We ave replied to your email.
Here is copy of that email.
Hello.
1) If you wan to use automatic import with cron script, so then you need to use #4 from your screenshot.
You need to insert Booking Manager shortcode for importing of events from the google Calendar
Please check attached screenshot.
Again please note, the import process is working in that case, when some visitor is open your website page with booking import shortcode. So you can configure CRON at your server, for periodically access this page with booking import shortcode to start import process. Or you can insert the import shortcode before booking form shortcode, so firstly system will start import process and only then show booking form, when someone visit your page.
2) Now about export. Booking Calendar is generate .ics feed with bookings in real time. But how often some service (like airbnb, or booking.com ) access this .ics feed to import the bookings from Booking Calendar into own system, does not depend from Booking Calendar. So in other words, Booking Calendar does not force to generate import process by third party service, when some booking is created. You need to check with support of this service (like airbnb or booking.com), about how often they can access the .ics feed tor making import.
Kind Regards.
Additionally please check about configuration of cron script st your website for periodically access page with import shortcode, here https://wpbookingcalendar.com/faq/cron/
Kind Regards.
Hello Tech Support,
first of all, congratulations on this great plugin. Keep up the great work.
I've bought the medium version of this plugin, and i'm currently having some trouble with the [visitorbookingpayurl].
I have everything well configured, the [visitorbookingpayurl] works fine when visitor is on a French or Portuguese pages, but when the visitor is on an English page the [visitorbookingpayurl] url comes empty. Can you please help?
2) Also at the Booking > Settings > Emails page for "Payment request" page, probably you have configured email template in several languages, relative this instruction: https://wpbookingcalendar.com/faq/several-languages/
3) So its means that you can use one default [visitorbookingpayurl] for English lanaguge,
and in other language section of your email configuration you can use such shortcodes:
[visitorbookingpayurl url="http://madroadtrip.com/pt/edit-booking"]
and
[visitorbookingpayurl url="http://madroadtrip.com/fr/edit-booking"]
must have [bookingedit] shortcode in content of the page.
And this URL http://madroadtrip.com/en/edit-booking have to be saved at the Booking > Settings General page in Advanced section for Booking Edit URL option.
4) Finally during sending payment request from booking listing page, you need to click on "globe icon" near specific booking, then change language for this specific booking and then send payment request.
Kind Regards.
Hello,
It seamed a good idea, and should be able to do the trick, but i've done all that you've mentioned above and its still not working. Got any other idea?
Tks in advance.
Hello.
1) Please be sure that you are using the latest update 8.1.1 of Booking Calendar.
You can request the new update of Booking Calendar on this page: https://wpbookingcalendar.com/request-update/
2) Otherwise, please send all screenshots of this configuration to support @ wpbookingcalendar.com and link to the page with booking form.
Kind Regards.
Thanks for your response. How do I edit the booking shortcode? It isn't explained where it is found in the link.
HI, I need to set specific hours for different days.
Ex:
Munday : 9 to 6pm
Sunday : 8 to 9pm
how is possible ?
thanks
Hello.
the ability to have the different time-slots selections for the different weekdays possible in the Booking Calendar Business Medium or higher versions.
Please read more about this feature here https://wpbookingcalendar.com/overview/#times-week-days
Hello
My calendar is working fine but I've had to deactivate it as it is suddenly preventing the WordPress media library from loading. Please can you advise?
Many thanks
Sharon
Hello.
Untill now we do not know any relative issues with media library.
1) May be its because of conflict with some other plugin and not the Booking Calendar.
Please try to deactivate one by one all your active plugins (except Booking Calendar) at the WordPress > Plugins menu and make testing of working with media libary after each plugin deactivation. If its not help, please deactivate all your plugins and active the default WordPress theme. And then retest it again.
Just need to find the reason of this issue.
2) Otherwise, please recheck your error.log in your server configuration, about any relative errors. If you can not find error.log file, please contact support of your hosting company about helping in finding this file.
Kind Regards.
Hi!
My next question would be. I use a small business version 6.1, wordpress based on 4.9.2 with ait theme. My problem is that something white dies from the plug in wp. I tried everything but unfortunately this is what it is. Is there any reason for this? eg incompatibility (eg continuous "login" when checking activation, old plugin is too fresh wp or anything else? If I replace the latest update then the problem is gone?
Thank you for your help
Peter
Hello.
1) Please recheck your error.log in your server configuration, about any relative errors. If you can not find error.log file, please contact support of your hosting company about helping in finding this file.
Unfortunately, there is still a problem.
Wordpress: 4.9.2. Template: ait theme BusinessFinder + (purchased legitimate). WP bookinCalendar 8.1.1 FREE version.
The situation is that I have uploaded this latest and free version 1 day after the complete expiration of the previous extension (deleted in every small place in the database). For 1 day I did not do anything in the background, but I did not give a few settings to the page. The page is all right. Today I created a page where I inserted the booking calendar / form. Result. When the page is viewed, white death is the result of a white death.
I would like to get help because we would like to buy the premium version because it is one of those extensions that contains everything we need (the main one is the season filter that is a rare treasure but it's useless.) If you need access please send me a private mail.
Thanks
Greetings: Peter
Hello.
Firstly we need to check about the reason of this issue.
The description about this issue must be in error.php file at your server configuration.
Please recheck your error.log in your server configuration, about any relative errors.
If you can not find error.log file, please contact support of your hosting company about helping in finding this file.
Thank you.
the php error log file on the host contains:
bms-apartment.com - php_error.log
-------------------------------------
[31-Jan-2018 09:02:42 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 130968 bytes) in /storage/web/www/adamkogergely/bms-apartment.com/html/wp-content/themes/businessfinder2/ait-theme/@framework/libs/AitLess.inc on line 1316
[31-Jan-2018 09:03:14 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 64 bytes) in /storage/web/www/adamkogergely/bms-apartment.com/html/wp-content/themes/businessfinder2/ait-theme/@framework/libs/AitLess.inc on line 1341
[31-Jan-2018 09:03:47 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 72 bytes) in /storage/web/www/adamkogergely/bms-apartment.com/html/wp-content/themes/businessfinder2/ait-theme/@framework/libs/AitLess.inc on line 1342
[31-Jan-2018 09:10:35 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 130968 bytes) in /storage/web/www/adamkogergely/bms-apartment.com/html/wp-content/themes/businessfinder2/ait-theme/@framework/libs/AitLess.inc on line 1316
[31-Jan-2018 09:15:46 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 130968 bytes) in /storage/web/www/adamkogergely/bms-apartment.com/html/wp-content/themes/businessfinder2/ait-theme/@framework/libs/AitLess.inc on line 1316
Az oldalra feltettem a TPC memory usage bővitményt mely a következőt adja:
Usage Sample: 66.88MB (26%)
Peak Usage: 67.07MB (26%)
All-Time: 126.81MB on 1/22/18 @ 11:56 am (shutdown)
Load Averages: 4.27 3 2.66
WP Memory Limit: 40M
PHP Memory Limit: 128M
Hello.
So you need to increase memory for PHP execution. Probably you have too many plugins, or some plugin or theme require additional resources.
Try to set 256M in your php.ini file.
Please contact support of your hosting, if you have difficulty with this.
Please reload server, after making this changes in php.ini file.
Kind Regards.
First of all, I thought about it, but unfortunately the service provider refuses to increase, I'm still trying to transcribe wp-config.
I've managed to work (how long does it take), TPC now writes:
Usage Sample: 76.47MB (30%)
Peak Usage: 87.49MB (34%)
All-Time: 126.81MB on 1/22/18 @ 11:56 am (shutdown)
Load Averages: 2.03 2.66 2.66
WP Memory Limit: 40M
PHP Memory Limit: 128M
Hello.
As other suggestion, I can recommend to deactivate some other plugins, if you not really need to use them.
Kind Regards.
Thanks for the help, plugins are just plugged in which should be.
You still have the template makers to ask what their problem may be.
Thanks
Péter
Hi there. Just a quick question that I couldn't find in the overview or FAQ (unless I missed it). With the personal version, can I mark certain days in my calendar as unavailable? (Gone on vacation, etc.)
Thank you.
Hello.
1) With Booking Calendar Personal version possible to mark specific dates as unavailable only by making "blank" bookings. You can do this in admin panel at the Booking > Add booking page
we have successfully installed and set up your plugin. However, everytime we import/sync tripadvisor calendars with the calendars on our site, we get duplicate or more of the same booking. Each time we sync, the calendar inserts the same booking. So if we sync the calendar 7 times a week, we get 7x identical booking inserted. Is there any setting to avoid that?
Thank you
Hello.
Basically its have not to be so.
Booking Calendar during import the bookings from the .ics feed (like tripadvisor or any other service), create new booking and save 'UID' from .ics feed to the new booking in Booking Calendar as separate field.
During next import of bookings, its check if the event from .ics feed with specific UID already exist in the Booking Calendar, and then it will not import it again.
As you can see the main condition here its having same UID for events in .ics feed do not depend when this .ics feed was generated.
You need to recheck with tripadvisor i they save UID the same for the same event each time, or they change it every time during generating .ics feeds. If last option, so then you will have such duplicated events/bookings.
Kind Regards.
Hello,
We want to know about the hook that can be used on the event of a new booking creation and how to get the Booking Resource ID in functions.php . We want to create a shortcode and insert in Email template and will be using the Booking Resource ID as a conditional.
Thanks
Hello.
After creation of new booking is executing this hook.
In case, if you need to catch event after creation of the new booking(s), (visitor click on "Send" button in the booking form), so then is executed this hook:
You can catch it:
add_action('wpdev_new_booking', 'your_booking_created' ,1,5);
function your_booking_created($booking_id, $booking_type, $booking_days_count, $times_array , $booking_form ){
// debuge( $booking_id, $booking_type, $booking_days_count, $times_array , $booking_form ); // Show info about parameters
}
Second parameter $booking_type - its ID of booked booking resource.
Please note this hook does not get cost of the booking.
You will be need to run this code for getting cost calculation in the Booking Calendar Business Small or higher versions:
// Get cost of main calendar with all rates discounts and so on...
$summ = apply_filters('wpdev_get_booking_cost', $booking_type, $dates, array($start_time, $end_time ), $booking_form_data );
$summ = floatval( $summ );
$summ = round($summ,2);
Kind Regards.
Dear Sirs
I have your version Business/Medium.
I have set up the booking system and with syncronisation to my Google calender. My problem is that it only imports one or two bookings from my Google calender at a time and not all there is. And it don't exprot bookings to my Google calender, what can I have done wrong 🙂
Kind regards
Per
Hello.
1) During import process, please configure correctly start end time of import such bookings. Becaus if you configure some start and end time and then set to import 10 bookings, but from these bookings, already 8 bookings was imported early so its means that you will import only 2 new bookings. Please recheck start end end time. But if you configure too large interval its can be reason of long time importing, etc...
2) Since update 8.1, the Booking Calendar plugin is supporting import/export bookings via .ics feeds.
- import of events via .ics feeds from Google Calendar ( or Airbnb or any other calendar that support .ics format, like iCal application)
- and export bookings to .ics feeds (files), which possible to import in Google Calendar (or Airbnb, Booking.com, HomeAway, TripAdvisor, VRBO, FlipKey and any other calendar that uses .ics format ).
Please note, the import process is working in that case, when some visitor is open your website page with booking import shortcode. So you can configure CRON at your server, for periodically access this page with booking import shortcode to start import process. Or you can insert the import shortcode before booking form shortcode, so firstly system will start import process and only then show booking form, when someone visit your page.
Now about export. Booking Calendar is generate .ics feed with bookings in real time. But how often some service (like airbnb, or booking.com ) access this .ics feed to import the bookings from Booking Calendar into own system, does not depend from Booking Calendar. So in other words, Booking Calendar does not force to generate import process by third party service, when some booking is created. You need to check with support of this service (like airbnb or booking.com), about how often they can access the .ics feed tor making import.
I have continued to try to sync all your links aren't working. Nothing is working to get my google calendar synced. I have emailed you several times with screen shots but no response. Where can I get help from you guys because clearly I need more help than just sending me a link.
Hello.
We have sent response to your email on 18th of January. Please check spam folder, if you do not see it in inbox.
Here is copy of email.
Hello.
1) If you are using import of google events from the public Google Calendars via API, so then please be sure that you correctly copy/paste ID of calendars.
Its must be not the ID like this "vcjhSDGSDGDFGDFGDFHFGucjvs" but ID of your calendars similar to this "vcjhSDGSDGDFGDFGDFHFGucjvs@group.calendar.google.com".
Please check more about this here: https://wpbookingcalendar.com/faq/import-gc-events/
2) If you making the integration via .ics feeds, so then please check here, how to import .ics feed from the Google Calendar: https://wpbookingcalendar.com/faq/import-ics-feeds/
Please note, you need to copy this option "Public address in iCal format" (or you can try to use URL from this option "Secret address in iCal format", as well ) at the settings of the Google Calendar,
and how to export .ics feed from plugin into the Google Calendar: https://wpbookingcalendar.com/faq/export-ics-feeds/
Kind Regards.
I sent you an email with screen shots
Hello.
We ave replied to your email.
Here is copy of that email.
Kind Regards.
Additionally please check about configuration of cron script st your website for periodically access page with import shortcode, here https://wpbookingcalendar.com/faq/cron/
Kind Regards.
Hello Tech Support,
first of all, congratulations on this great plugin. Keep up the great work.
I've bought the medium version of this plugin, and i'm currently having some trouble with the [visitorbookingpayurl].
This is the website i'm currently working on: http://madroadtrip.com
The edit url is: http://madroadtrip.com/pt/edit-booking
I have everything well configured, the [visitorbookingpayurl] works fine when visitor is on a French or Portuguese pages, but when the visitor is on an English page the [visitorbookingpayurl] url comes empty. Can you please help?
Thanks in advance,
Pedro Vieira
Hello.
1) I can suggest that you are having several pages with [bookingedit] shortcode for different lanaguges.
Check more about configuration of bookingedit shortcode here: https://wpbookingcalendar.com/faq/configure-editing-cancel-payment-bookings-for-visitors/
2) Also at the Booking > Settings > Emails page for "Payment request" page, probably you have configured email template in several languages, relative this instruction: https://wpbookingcalendar.com/faq/several-languages/
3) So its means that you can use one default [visitorbookingpayurl] for English lanaguge,
and in other language section of your email configuration you can use such shortcodes:
[visitorbookingpayurl url="http://madroadtrip.com/pt/edit-booking"]
and
[visitorbookingpayurl url="http://madroadtrip.com/fr/edit-booking"]
Of course each pages:
http://madroadtrip.com/en/edit-booking
http://madroadtrip.com/fr/edit-booking
http://madroadtrip.com/pt/edit-booking
must have [bookingedit] shortcode in content of the page.
And this URL http://madroadtrip.com/en/edit-booking have to be saved at the Booking > Settings General page in Advanced section for Booking Edit URL option.
4) Finally during sending payment request from booking listing page, you need to click on "globe icon" near specific booking, then change language for this specific booking and then send payment request.
Kind Regards.
Hello,
It seamed a good idea, and should be able to do the trick, but i've done all that you've mentioned above and its still not working. Got any other idea?
Tks in advance.
Hello.
1) Please be sure that you are using the latest update 8.1.1 of Booking Calendar.
You can request the new update of Booking Calendar on this page: https://wpbookingcalendar.com/request-update/
2) Otherwise, please send all screenshots of this configuration to support @ wpbookingcalendar.com and link to the page with booking form.
Kind Regards.
Thanks for your response. How do I edit the booking shortcode? It isn't explained where it is found in the link.
Thanks,
Hello.
Please read more how easily insert booking form or availability calendar into a pages http://wpbookingcalendar.com/help/inserting-booking-form/ or how manually configure Booking Calendar shortcodes in content of your pages: http://wpbookingcalendar.com/help/booking-calendar-shortcodes/
Kind Regards.
HI, I need to set specific hours for different days.
Ex:
Munday : 9 to 6pm
Sunday : 8 to 9pm
how is possible ?
thanks
Hello.
the ability to have the different time-slots selections for the different weekdays possible in the Booking Calendar Business Medium or higher versions.
Please read more about this feature here https://wpbookingcalendar.com/overview/#times-week-days
You can check more info about this configuration at this page: https://wpbookingcalendar.com/faq/different-time-slots-selections-for-different-days/
Kind Regards.
Hello
My calendar is working fine but I've had to deactivate it as it is suddenly preventing the WordPress media library from loading. Please can you advise?
Many thanks
Sharon
Hello.
Untill now we do not know any relative issues with media library.
1) May be its because of conflict with some other plugin and not the Booking Calendar.
Please try to deactivate one by one all your active plugins (except Booking Calendar) at the WordPress > Plugins menu and make testing of working with media libary after each plugin deactivation. If its not help, please deactivate all your plugins and active the default WordPress theme. And then retest it again.
Just need to find the reason of this issue.
2) Otherwise, please recheck your error.log in your server configuration, about any relative errors. If you can not find error.log file, please contact support of your hosting company about helping in finding this file.
Kind Regards.
Hi!
My next question would be. I use a small business version 6.1, wordpress based on 4.9.2 with ait theme. My problem is that something white dies from the plug in wp. I tried everything but unfortunately this is what it is. Is there any reason for this? eg incompatibility (eg continuous "login" when checking activation, old plugin is too fresh wp or anything else? If I replace the latest update then the problem is gone?
Thank you for your help
Peter
Hello.
1) Please recheck your error.log in your server configuration, about any relative errors. If you can not find error.log file, please contact support of your hosting company about helping in finding this file.
2) We recommend to update your version to the latest update 8.1.1
You can check what's was new in updates here in changelog: https://wpbookingcalendar.com/changelog/
You can request the new update of Booking Calendar on this page: https://wpbookingcalendar.com/request-update/
Kind Regards.
Unfortunately, there is still a problem.
Wordpress: 4.9.2. Template: ait theme BusinessFinder + (purchased legitimate). WP bookinCalendar 8.1.1 FREE version.
The situation is that I have uploaded this latest and free version 1 day after the complete expiration of the previous extension (deleted in every small place in the database). For 1 day I did not do anything in the background, but I did not give a few settings to the page. The page is all right. Today I created a page where I inserted the booking calendar / form. Result. When the page is viewed, white death is the result of a white death.
I would like to get help because we would like to buy the premium version because it is one of those extensions that contains everything we need (the main one is the season filter that is a rare treasure but it's useless.) If you need access please send me a private mail.
Thanks
Greetings: Peter
Hello.
Firstly we need to check about the reason of this issue.
The description about this issue must be in error.php file at your server configuration.
Please recheck your error.log in your server configuration, about any relative errors.
If you can not find error.log file, please contact support of your hosting company about helping in finding this file.
Thank you.
the php error log file on the host contains:
bms-apartment.com - php_error.log
-------------------------------------
[31-Jan-2018 09:02:42 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 130968 bytes) in /storage/web/www/adamkogergely/bms-apartment.com/html/wp-content/themes/businessfinder2/ait-theme/@framework/libs/AitLess.inc on line 1316
[31-Jan-2018 09:03:14 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 64 bytes) in /storage/web/www/adamkogergely/bms-apartment.com/html/wp-content/themes/businessfinder2/ait-theme/@framework/libs/AitLess.inc on line 1341
[31-Jan-2018 09:03:47 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 72 bytes) in /storage/web/www/adamkogergely/bms-apartment.com/html/wp-content/themes/businessfinder2/ait-theme/@framework/libs/AitLess.inc on line 1342
[31-Jan-2018 09:10:35 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 130968 bytes) in /storage/web/www/adamkogergely/bms-apartment.com/html/wp-content/themes/businessfinder2/ait-theme/@framework/libs/AitLess.inc on line 1316
[31-Jan-2018 09:15:46 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 130968 bytes) in /storage/web/www/adamkogergely/bms-apartment.com/html/wp-content/themes/businessfinder2/ait-theme/@framework/libs/AitLess.inc on line 1316
Az oldalra feltettem a TPC memory usage bővitményt mely a következőt adja:
Usage Sample: 66.88MB (26%)
Peak Usage: 67.07MB (26%)
All-Time: 126.81MB on 1/22/18 @ 11:56 am (shutdown)
Load Averages: 4.27 3 2.66
WP Memory Limit: 40M
PHP Memory Limit: 128M
Hello.
So you need to increase memory for PHP execution. Probably you have too many plugins, or some plugin or theme require additional resources.
Try to set 256M in your php.ini file.
Please contact support of your hosting, if you have difficulty with this.
Please reload server, after making this changes in php.ini file.
Kind Regards.
First of all, I thought about it, but unfortunately the service provider refuses to increase, I'm still trying to transcribe wp-config.
I've managed to work (how long does it take), TPC now writes:
Usage Sample: 76.47MB (30%)
Peak Usage: 87.49MB (34%)
All-Time: 126.81MB on 1/22/18 @ 11:56 am (shutdown)
Load Averages: 2.03 2.66 2.66
WP Memory Limit: 40M
PHP Memory Limit: 128M
Hello.
As other suggestion, I can recommend to deactivate some other plugins, if you not really need to use them.
Kind Regards.
Thanks for the help, plugins are just plugged in which should be.
You still have the template makers to ask what their problem may be.
Thanks
Péter
Hi there. Just a quick question that I couldn't find in the overview or FAQ (unless I missed it). With the personal version, can I mark certain days in my calendar as unavailable? (Gone on vacation, etc.)
Thank you.
Hello.
1) With Booking Calendar Personal version possible to mark specific dates as unavailable only by making "blank" bookings. You can do this in admin panel at the Booking > Add booking page
2) In the Booking Calendar Business Medium or higher versions possible to define specific dates as unavailable in more advanced way by using season filters.
Check more about this feature here: https://wpbookingcalendar.com/overview/#availability
Watch it in this video guide https://wpbookingcalendar.com/help/booking-calendar-video-season-availability/
Kind Regards.
Hi,
we have successfully installed and set up your plugin. However, everytime we import/sync tripadvisor calendars with the calendars on our site, we get duplicate or more of the same booking. Each time we sync, the calendar inserts the same booking. So if we sync the calendar 7 times a week, we get 7x identical booking inserted. Is there any setting to avoid that?
Thank you
Hello.
Basically its have not to be so.
Booking Calendar during import the bookings from the .ics feed (like tripadvisor or any other service), create new booking and save 'UID' from .ics feed to the new booking in Booking Calendar as separate field.
During next import of bookings, its check if the event from .ics feed with specific UID already exist in the Booking Calendar, and then it will not import it again.
As you can see the main condition here its having same UID for events in .ics feed do not depend when this .ics feed was generated.
You need to recheck with tripadvisor i they save UID the same for the same event each time, or they change it every time during generating .ics feeds. If last option, so then you will have such duplicated events/bookings.
Kind Regards.
Hello,
We want to know about the hook that can be used on the event of a new booking creation and how to get the Booking Resource ID in functions.php . We want to create a shortcode and insert in Email template and will be using the Booking Resource ID as a conditional.
Thanks
Hello.
After creation of new booking is executing this hook.
In case, if you need to catch event after creation of the new booking(s), (visitor click on "Send" button in the booking form), so then is executed this hook:
do_action('wpdev_new_booking',$booking_id, $bktype, $str_dates__dd_mm_yyyy, array($start_time, $end_time ) ,$formdata );
You can catch it:
add_action('wpdev_new_booking', 'your_booking_created' ,1,5); function your_booking_created($booking_id, $booking_type, $booking_days_count, $times_array , $booking_form ){ // debuge( $booking_id, $booking_type, $booking_days_count, $times_array , $booking_form ); // Show info about parameters }
Second parameter $booking_type - its ID of booked booking resource.
Please note this hook does not get cost of the booking.
You will be need to run this code for getting cost calculation in the Booking Calendar Business Small or higher versions:
// Get cost of main calendar with all rates discounts and so on... $summ = apply_filters('wpdev_get_booking_cost', $booking_type, $dates, array($start_time, $end_time ), $booking_form_data ); $summ = floatval( $summ ); $summ = round($summ,2);
Kind Regards.
Dear Sirs
I have your version Business/Medium.
I have set up the booking system and with syncronisation to my Google calender. My problem is that it only imports one or two bookings from my Google calender at a time and not all there is. And it don't exprot bookings to my Google calender, what can I have done wrong 🙂
Kind regards
Per
Hello.
1) During import process, please configure correctly start end time of import such bookings. Becaus if you configure some start and end time and then set to import 10 bookings, but from these bookings, already 8 bookings was imported early so its means that you will import only 2 new bookings. Please recheck start end end time. But if you configure too large interval its can be reason of long time importing, etc...
2) Since update 8.1, the Booking Calendar plugin is supporting import/export bookings via .ics feeds.
- import of events via .ics feeds from Google Calendar ( or Airbnb or any other calendar that support .ics format, like iCal application)
- and export bookings to .ics feeds (files), which possible to import in Google Calendar (or Airbnb, Booking.com, HomeAway, TripAdvisor, VRBO, FlipKey and any other calendar that uses .ics format ).
Please read more about this feature here: https://wpbookingcalendar.com/faq/#sync
Please note, the import process is working in that case, when some visitor is open your website page with booking import shortcode. So you can configure CRON at your server, for periodically access this page with booking import shortcode to start import process. Or you can insert the import shortcode before booking form shortcode, so firstly system will start import process and only then show booking form, when someone visit your page.
Now about export. Booking Calendar is generate .ics feed with bookings in real time. But how often some service (like airbnb, or booking.com ) access this .ics feed to import the bookings from Booking Calendar into own system, does not depend from Booking Calendar. So in other words, Booking Calendar does not force to generate import process by third party service, when some booking is created. You need to check with support of this service (like airbnb or booking.com), about how often they can access the .ics feed tor making import.
Kind Regards.