Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author DOTonPAPER

    (@dotonpaper)

    Hello,

    Please send an email via dotonpaper.net/contact about the problem.
    Add the link to this topic in the email.

    Thank you.

    I have the same problem. I describe my problem in this post
    https://www.ads-software.com/support/topic/all-fields-in-booking-form-unchecked-when-i-use-paypal

    I have audited the sql queries and I can see that the insert in database after pay with paypal is incorrect.
    This insertion is made from book-confirmation.php.

    $wpdb->insert(DOPBS_Reservations_table, array(‘calendar_id’ => $DOPBS_CalendarID_holder,
    ‘check_in’ => $DOPBS_CheckIn_holder,
    ‘check_out’ => $DOPBS_CheckOut_holder,
    ‘start_hour’ => $DOPBS_StartHour_holder,
    ‘end_hour’ => $DOPBS_EndHour_holder,
    ‘no_items’ => $DOPBS_NoItems_holder,
    ‘currency’ => $DOPBS_Currency_holder,
    ‘currency_code’ => $DOPBS_CurrencyCode_holder,
    ‘total_price’ => $DOPBS_PriceValue_holder,
    ‘discount’ => $DOPBS_DiscountValue_holder,
    ‘price’ => $DOPBS_PriceToPayValue_holder,
    ‘deposit’ => $DOPBS_PriceDepositValue_holder,
    ‘language’ => $language,
    ’email’ => $DOPBS_Email_holder,
    ‘no_people’ => $DOPBS_NoPeople_holder,
    ‘no_children’ => $DOPBS_NoChildren_holder,
    ‘info’ => json_encode($DOPBS_Form_holder),
    ‘payment_method’ => ‘2’,
    ‘paypal_transaction_id’ => $transactionId,
    ‘status’ => ‘approved’));

    In this insertion ‘info’ => json_encode($DOPBS_Form_holder) is not correctly recovered and it is inserted empty in database. For this reason all data in the email and the reservation appear Unchecked.

    If you find the solution or a workaround, please post here.

    Thanks

    Plugin Author DOTonPAPER

    (@dotonpaper)

    Hello,

    In a couple of weeks the plugin will be updated and this bug will be fixed.

    Thank you.

    Plugin Author DOTonPAPER

    (@dotonpaper)

    Hello,

    Here is the solution for this bug:

    replace this
    if (isset($_POST['DOPBookingSystemPRO_FormField'.$cID.'_'.$field->id])){
    

    with this

     if (isset($_POST['DOPBookingSystem_FormField'.$cID.'_'.$field->id])){
    

    in the file booking-system/assets/paypal/expresscheckout.php

    The update will be available really soon.

    Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘booking is not showing form data’ is closed to new replies.