Home Forums Plugins WP Travel Pro Traveller Details and Billing Address

Tagged: 

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #114978
    SARAH KIM
    Participant

    Hi, I have some questions about some setting.

    1. Can I modify the traveller details and billing address form? I want to make it as simple without Date of birth and want to delete the billing address form

    2. when I make the Strip checkout on the top for payment gateway and saved in the setting it goes back to the order as the default setting in the setting. I want to make the Strip checkout at the first payment option

    3. Most importantly, strip checkout doesn’t work, I received the order email but the customer didn’t pay it, after press the book and pay button goes to the blank page on booking success.

    hope someone help me for this issue
    thank you in advance

    #114996
    wensolutions
    Keymaster

    Hello,

    To remove the billing address form, you can add the code given below in the child theme’s function.php folder.

    if ( function_exists( '__return_false' ) ) {
        add_filter( 'wp_travel_checkout_billing_fields', '__return_false' );
    }

    You can create a child theme by referring to the documentation below,

    https://wptravel.io/how-to-create-a-child-theme/

    About modifying the traveler details form, this feature is not available for now. However, we will consider this as the feature request and will fix this in a future enhancement.

    For the payment gateways issue, please provide us your site URL so that we can inspect and resolve the issue.

    Regards.

    #115274
    SARAH KIM
    Participant

    Hi, thank you for your response.
    I created the child theme already and put this code in functions and works well.

    I understand the features not available now, is there a way to delete the Date of Birth field?
    Customers will leave easily if they’re required the DOB.

    I tested it with test API code of Stripe but still no luck, and the live code I tested it, can’t see the credit card number field anyway.

    http://www.gohoju.com.au
    The website is on a temporary page, because of the payment issue but I open the website please let me know if you could find the what the cause of it.

    thank you.

    #115276
    SARAH KIM
    Participant

    Ok, this may helps you to find our the issue,
    when I see the bookings which I did test a few orders,
    there are errors ” Array” on the right, see the screenshot
    screenshot

    #115301
    wensolutions
    Keymaster

    Hello,

    Thank you for providing your site URL.

    To remove the Date of Birth field from the form, you can add CSS following the path Admin panel > Appearance > Customize > Additional CSS,

    .wp-travel-form-field:nth-child(6) {
        display: none;
    }

    About the Stripe issue, when we inspected your site we found the console error from your site that there is a problem in the API key. So, once enter the correct API key and also you have to disable the test mode while checking to book in live mode.

    If the issue still persists, please provide us with your login details at wensolution[at]gmail.com

    Hope this helps.

    Thank you.

    #115315
    SARAH KIM
    Participant

    thank you for your support, the code works perfectly when I trying to find the class for CSS but couldn’t find it anyway, happy with the result.

    The API key, is there any option to disable the test mode? see what I can see in setting
    setting
    I put live API key and test it, still not working

    #115319
    wensolutions
    Keymaster

    Hello,

    You can disable the test mode by going to Admin Panel > WP Travel > Setting > Debug.

    https://nimb.ws/TbUeQ4

    Hope this helps.

    Thank you.

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.