Support Archive (6)

Important!!!    Check actual Support Forum, if you need to ask a Questions.

  1. Hi, It's a great plugin. Is there a way to integrate the Razor pay payment gateway? Razor Pay needs only the amount, description, and name of the product(any names such as 'booking') as custom fields. Otherwise, How can I get the total number of dates for the booking in custom fields for the page. I am using this for the Indian currency. Thank you in advance.

    • Hello.
      Unfortunately Booking Calendar does not support integration with Razor Pay.

      The Business Small and higher versions of the Booking Calendar is support Stripe, PayPal (Standard and PayPal Pro Hosted Solution (please note, PayPal PayPal Pro Hosted Solution its does not the same as PayPal Pro)), Authorize.Net, Sage Pay, iDEAL via Sisow and iPay88 payment gateways integration, other payment systems are not supporting yet. You can configure and activate it at the Booking > Settings > Payment page.
      Please watch more in this video: https://wpbookingcalendar.com/help/booking-calendar-video-payments/

      If you want to make the integration of your payment system by yourself, so you will be able to check how was integrated exist payment system in plugin like Stripe payment gateway. Please check more about this here: https://wpbookingcalendar.com/faq/custom-gateway-in-7-0/

      Please note, if you will modify the source code of the Booking Calendar, we will not guaranteed the correct work of plugin and do not support it.

    • I am using WordPress 5.8.0 and PHP Version 7.4.13 for booking calendar going to buy a new version.

        • Hello.
          Unfortunately, the Booking Calendar does not support integration with WooCommerce plugin. Sorry.

          The Business Small and higher versions of the Booking Calendar is support Stripe, PayPal (Standard and PayPal Pro Hosted Solution (please note, PayPal PayPal Pro Hosted Solution its does not the same as PayPal Pro)), Authorize.Net, Sage Pay, iDEAL via Sisow and iPay88 payment gateways integration, other payment systems are not supporting yet. You can configure and activate it at the Booking > Settings > Payment page.
          Please watch more in this video: https://wpbookingcalendar.com/help/booking-calendar-video-payments/

          If you want to make the integration of your payment system by yourself, so you will be able to check how was integrated exist payment system in plugin like Stripe payment gateway. Please check more about this here: https://wpbookingcalendar.com/faq/custom-gateway-in-7-0/

          Please note, if you will modify the source code of the Booking Calendar, we will not guaranteed the correct work of plugin and do not support it.

          • Hi, Thanks for the reply. If I have to configure my own payment gateway, do I have to buy Booking Calendar MultiUser version or the small Business version is enough?

            • Hello.
              The payment gateways are support in the Booking Calendar Business Small or higher versions. So the Booking Calendar Business Small version. Just recheck about some other features that you can need. Please read the Booking Calendar version overview here: https://wpbookingcalendar.com/overview/
              You can test Booking Calendar live demos at this page https://wpbookingcalendar.com/demo/ to be sure in functionality and do not have misunderstanding.

  2. Good Morning,
    I need to refresh the calendar content when i select a time slot. I have diferent times slots and ineed to clear the user day selection and restart to select when the slot change ¿is it posible?
    I have bussiness small version.

    Regards

  3. Hello, when I select a day in the claendar bussiness small version, what is the sort code to obtain the name of the day, For example "friday".
    I can obtain the day day/mount/year with this:

    jQuery( ".booking_form_div" ).on('date_selected', function(event, bk_type, date) {
    var myDate= date.split(',');
    But I need the day of the week.

    Can you help me?

    regards,

  4. Hi!

    we recently asked if it was possible to implement transaction id and amount i payment sucessful page of booking form completion.

    Is there something we can do on our own? Is there a way to use the booking listing info such as "ID" ?

    Is the id created in php or autoincrement in database? Do you use array to get the booking listing over all bookings made?

    can we possibly include something into the payment successfull page?

    • Hello.
      The ID of bookings in the Booking Calendar plugin it's auto increment field from the database, after saving specific booking.

      Relative your ID and cost after redirection from the Stripe payment system to "Thank you" page, please make this fix.

      Please open this file ../wp-content/plugins/{Booking Calendar Folder}/inc/gateways/stripe_v3/wpbc-gw-stripe_v3.php

      ( you can check how to edit files in WordPress menu in this article https://wpbookingcalendar.com/faq/how-edit-file-in-wp-menu/ )

      then find this code:

      $stripe_v3_success_url = wpbc_make_link_absolute( $stripe_v3_success_url ); // if relay is active, this will point to some valid url the user entered. If not, it will point to the original gateway url // header ("Location: ". $stripe_v3_success_url ); wpbc_redirect( $stripe_v3_success_url );

      and replace it to this code:

      $stripe_v3_success_url = wpbc_make_link_absolute( $stripe_v3_success_url ); // if relay is active, this will point to some valid url the user entered. If not, it will point to the original gateway url // header ("Location: ". $stripe_v3_success_url ); $booking_data = wpbc_get_booking_details( $booking_id ); /* stdClass Object ( [booking_id] => 39 [trash] => 0 [sync_gid] => [is_new] => 1 [status] => [sort_date] => 2021-12-09 09:00:01 [modification_date] => 2021-11-29 08:53:47 [form] => text^days_number_hint3^1~text^cost_hint3^$250.00~select-one^rangetime3^09:00 - 20:30~text^name3^John~text^secondname3^Smith~email^email3^john.smith@server.com~select-one^visitors3^1~select-one^children3^0 [hash] => 63e2799db2739ca8f5701bb0d982e12f [booking_type] => 3 [remark] => [cost] => 250.00 [pay_status] => Stripe_v3:OK [pay_request] => 0 ) */ $stripe_v3_success_url .= '?booking_id=' . $booking_id . '&booking_cost=' . $booking_data->cost; wpbc_redirect( $stripe_v3_success_url );

      It's will redirect to the "Thank you" page with parameters, like this:

      https://server.com/successful/?booking_id=40&booking_cost=250.00

      So you can use in your script $_GET['booking_id'] and $_GET['booking_cost']

      or via JavaScript like in this article: https://www.sitepoint.com/get-url-parameters-with-javascript/
      Example:
      <div class="booking_id"></div> <div class="booking_cost"></div> <p><script type="text/javascript">var queryString = window.location.search;console.log(queryString);const urlParams = new URLSearchParams(queryString);const booking_id = urlParams.get('booking_id');jQuery( '.booking_id' ).html('Booking ID = ' + booking_id);const booking_cost = urlParams.get('booking_cost');jQuery( '.booking_cost' ).html('Booking cost = ' + booking_cost );</script></p>

      Disclaimer. Unfortunately we can not start, right now, some personal customization or custom development, because we have almost no free time.
      Check more about, what support we are providing here https://wpbookingcalendar.com/faq/what-support-do-you-provide/
      Thank you for understanding.
      Please note, if you modify the source code of the Booking Calendar, we will not guarantee the correct work of the plugin and do not support it.
      Kind Regards.

      • Thanks!

        We should be able to get the booking info with php from there.

        Sincerely Bjarte

  5. Hello I have make 2 variables in a form ("fechasSeleccion" and "franjaSeleccionada"). I need to pass them on a mail to user, when he make a reserve, but I don´t know how to do it. I am using bussiness medium calendar. Can you help me?
    This is the code:

    [calendar]

    Número de días:[days_number_hint] días.
    Fechas:
    Horario:
    Coste de la reserva: [cost_hint]

    Select Start times:[select starttime class:start_selection "Día Completo@@00:00" "Mañana@@09:00" "tarde@@15:30"]

    Select time duration:[select durationtime class:duration_selection "All day booking@@24:00" "1 hour@@01:00" "2 hours@@02:00" "3 hours@@03:00" "4 hours@@04:00" "5 hours@@05:00" "6 hours@@06:00" "7 hours@@07:00" "8 hours@@08:00" "9 hours@@09:00" "10 hours@@10:00"]

    jQuery('.start_selection').on('change', function() {
    var start_time = jQuery(this).find(":selected").val();
    muestraFranjaReservada(start_time);
    if ( '00:00' == start_time ) {
    jQuery('.time_duration_section').hide();
    jQuery('.duration_selection').val( '24:00' );
    jQuery('.time_duration_section option:first').css('display', 'block');
    } else {
    if('09:00' == start_time){
    jQuery('.duration_selection').val( '07:00' );
    }
    if('15:30' == start_time){
    jQuery('.duration_selection').val( '05:00' );
    }
    // jQuery('.time_duration_section').show();
    //jQuery('.duration_selection').val( '01:00' );
    jQuery('.time_duration_section option:first').css('display', 'none');
    }
    });
    jQuery(document).ready(function(){
    jQuery('.start_selection').val( '00:00' ); muestraFranjaReservada(jQuery('.start_selection').find(":selected").val());
    jQuery('.duration_selection').val( '24:00' );
    jQuery('.time_duration_section').hide();
    jQuery('.times_section').hide();
    });

    jQuery( ".booking_form_div" ).on('date_selected', function(event, bk_type, date) {

    var dates_count = date.split(',');
    dates_count = dates_count.length;

    var ultimaFecha=date.split(',')[Number(Number(dates_count)-1)];
    var diaDeLaSemana=obtenDiaSemana(ultimaFecha);
    muestraDiasReservados(date.split(','));

    if (dates_count == 2) {
    if(jQuery('.start_selection').find(":selected").val()!="00:00"){
    alert("La seleccion de multiples días sólo admite la reserva por día completo");
    }
    }
    if ( dates_count > 1) {

    jQuery('.start_selection').val( '00:00' );
    muestraFranjaReservada(jQuery('.start_selection').find(":selected").val());
    jQuery('.duration_selection').val( '24:00' );
    jQuery('.times_section').hide();
    } else {
    jQuery('.start_selection').val( '00:00' );
    muestraFranjaReservada(jQuery('.start_selection').find(":selected").val());
    jQuery('.duration_selection').val( '24:00' );
    jQuery('.times_section').show();
    jQuery('.time_duration_section').hide();
    }

    if(date.length.toString()=="0"){
    jQuery('.times_section').hide();
    muestraFranjaReservada(null);
    }

    if(diaDeLaSemana==6){
    jQuery('.times_section').hide();
    if ( dates_count < 2){
    alert("Estás reservando un viernes.El horario para este día es de 9:00 a 13:00");
    }
    }

    if (typeof(showCostHintInsideBkForm) == 'function') {
    showCostHintInsideBkForm( bk_type );
    }
    });

    function obtenDiaSemana(fechaConv){
    var dia=fechaConv.split('.')[0];
    var nombreMes=Number(Number(fechaConv.split('.')[1])-1);
    var meses=["January","February","March","April","May","June","July", "August","September","October","November","December"];
    var mes=meses[nombreMes]
    var ano=fechaConv.split('.')[2];
    var strDia=mes+" "+dia+", "+ ano+" 23:15:00";
    var dt = new Date(strDia);
    var diaSemana=dt.getDay();

    return(diaSemana);
    }

    function muestraDiasReservados(fechas){
    var franja=jQuery('.start_selection').find(":selected").val();
    var strFechas="";
    for(var x=0; x<fechas.length; x++){
    var sep=(x!=0)?" // ":"";
    strFechas=strFechas+sep+fechas[x];
    }
    jQuery( ".fechasSeleccion" ).html(strFechas);

    }

    function muestraFranjaReservada(horaReserva){
    var franjaHoraria="";
    if(horaReserva=='00:00'){
    franjaHoraria="Día Completo"
    }
    else if(horaReserva=='09:00'){
    franjaHoraria="Mañana"
    }
    else if(horaReserva=='15:30'){
    franjaHoraria="Tarde"
    }
    else if(horaReserva==null){
    franjaHoraria=""
    }

    jQuery( ".franjaSeleccionada" ).html(franjaHoraria)
    }

    First Name (required):[text* name]
    Last Name (required):[text* secondname]
    Email (required):[email* email]
    Adults: [select visitors class:col-md-1 "1" "2" "3" "4"] Children: [select children class:col-md-1 "0" "1" "2" "3"]
    [submit class:btn "Send"]

    • Hello.
      In the booking form at the Booking > Settings > Form page you need to have this field:
      [text fechasSeleccion ""]
      And in the "Content of booking fields data" form at the Booking > Settings > Form page you need to have this shortcode:
      [fechasSeleccion]

      So in this case, system will pass this shortcode to the emails.

      In the booking form you can have that text field as hidden:
      <div style="display:none;">[text fechasSeleccion ""]</div>
      Just be sure to assign value to this text field in your JavaScript.

      Disclaimer. Unfortunately we can not start, right now, some personal customization or custom development, because we have almost no free time.
      Check more about, what support we are providing here https://wpbookingcalendar.com/faq/what-support-do-you-provide/
      Thank you for understanding.
      Please note, if you modify the source code of the Booking Calendar, we will not guarantee the correct work of the plugin and do not support it.

  6. Dear Sirs,

    which version do i need to use the function
    Partially booked

    ?

    best regards

    • Hello.
      Do you need to make bookings for speiccic time slots ?
      If yes, then The ability to book for the specific times possible in the Booking Calendar Business Small / Business Medium versions (and in higher versions for booking resources with capacity =1).
      In lower versions of Booking Calendar (including free version), possible to make bookings for specific times only for specific restricted time-slots.
      Please note if you will make the booking for the specific timeslot, this timeslot become unavailable for the other visitors for that selected date in current specific calendar.
      Please watch more in this video: https://wpbookingcalendar.com/help/booking-calendar-video-timeslots/
      You can configure the timeslots selections on the Booking > Settings > Form page. Please use the "shortcode generator" on the right side of that page for the correct generation of the shortcode.
      You can use one"timerange" (timeslots) or "start time" and"end time" selections or"starttime" and "duration"of time selections shortcodes or even start time and end time entering shortcodes. Please read more about the booking form fields configuration here https://wpbookingcalendar.com/help/booking-form-fields/
      You can test the bookings for the specific time-slots in action on the live demo of Business Small version (which is configured by default for the bookings of specific time-slots) here: https://bs.wpbookingcalendar.com/ Other live demo you will need to reconfigure.

      In case if you need to make several bookings for the same full day. If you need to make the specific number of bookings per days, then you need to check the Booking Calendar Business Large version, where is possible to make several reservations per specific FULL date(s) by visitors (not time slots). Please read more about it here https://wpbookingcalendar.com/overview/#capacity
      You can test it in the live demo here https://bl.wpbookingcalendar.com/
      Watch video about this feature here https://wpbookingcalendar.com/help/availability-capacity-video-overview/
      At this version possible to set capacity of the booking resource, so date(s) in calendar will be available until number of reservations is less then capacity of the booking resource. But its possible to make booking only for FULL date, not a time slots (time slots in this version only saved as data into database, but do not apply to availability logic).
      Highly recommend, to check this article about configuration of capacity and availability for booking resources: https://wpbookingcalendar.com/faq/capacity-concept/

      Kind Regards.

  7. Unavailable, Available, Block Time, My Time, Custom Booking

    As a one man business I have to block out times on my calendar. So far all I can figure is I have to Book time to Block time.
    I am using multiple Time Slots.
    To Block My Time, I have to make a Booking for each Time Slot when all I should have to do is make a Custom Booking that covers all the time I need to Block.

    I want to Block a Half or Whole Day on any giving day (varies).
    I want to Block a Half Day on every Friday.

    1. Can I make a Second Form, with Start and End Time or Duration Time, that allows me to Block out My Time?

    2. Can I make a Resource, with Start and End Time or Duration Time, that allows me to Block out My Time?

    3. Is there some other way to achieve my goals?

  8. Dear staff of WPBookingCalendar, I am trying to add the shortcode of the plugin, but it keeps giving me an error for some reason.

  9. Please upgrade instruction from Small to Medium.

    =======Upgrade Stuck Here:

    Installing plugin from uploaded file: booking.bm.zip
    Unpacking the package…

    Installing the plugin…

    Destination folder already exists. ~~~~~~.com/wp-content/plugins/booking.bm.8.9.1/

    Go to Plugin Installer

    • Nevermind. I deleted folder on server and it installed fine.