• Dear Friends,

    I have WP HOTELIER on my hotel website. Is there any plugin that allows offline credit card payment? I need the credit card number just for Free Cancellation Rate.

    In this moment i have just Paypal payment option.

    I hope that someone will help me.

    Best Regards to all people

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author benitolopez

    (@benitolopez)

    With the Stripe extension you can charge the guest later for the remaining deposit. But only if the reservation contains a room with a deposit and if the payment method selected was Stripe. So that special rate must have a required deposit.

    Alternatively, you can add a custom field for the credit card in the booking form, following the documentation:

    https://docs.wphotelier.com/article/70-add-new-booking-fields

    Best Regards

    Thread Starter villalinda

    (@villalinda)

    Dear Benito, thank you for your quickly answer.
    On my website hotelvillalinda.it in this moment how you can see, there is just Paypal on the booking page. I will try to use the Alternatively method that you wrote, but i don’t understand where i have to put this:
    add_filter( ‘hotelier_booking_default_address_fields’ , ‘custom_guest_details_field’ );
    function custom_guest_details_field( $fields ) {
    $fields[ ‘custom_field’ ] = array(
    ‘label’ = esc_html__( ‘Custom Label’, ‘hotelier’ ),
    ‘placeholder’ = esc_html_x( ‘Custom placeholder’, ‘placeholder’, ‘hotelier’ ),
    ‘type’ = ‘text’,
    ‘required’ = true,
    ‘class’ = array( ‘form-row-wide’ )
    );
    return $fields;
    }

    And also where i have to insert the extra code that is written in your instruction page.

    Is it possible to have simply a offline credit card gateway plugin, it is more simple for me.

    I hope you can help me and i wish you i nice day

    Best Regards
    Sascha

    Plugin Author benitolopez

    (@benitolopez)

    Hi,

    No, unfortunately there’s not a plugin available for that. This is something you need to integrate yourself, following the code on the article.

    Al the code goes in functions.php (of your theme or of your child theme).

    Best Regards

    Corrections/Clarifications:
    – the equal signs should be “=>”
    – there should be several fields, not just one — CC, expiry, security code + checkbox for paying with a CC (not the paypal interface)
    – showing this info on the page is OK, where is the processor for the CC? what is the command and where to put it? (Lets say for the manila theme)
    – to show the info on the admin reservation page – where to place the code? – in the plugin somewhere?

    Thanks!
    -Paul

    Plugin Author benitolopez

    (@benitolopez)

    1. Yes it’s correct, the code was fixed in the docs.

    2. Just add another field to the $fields array.

    3. There’s not any processor. As I said above there’s not an offline gateway available for Easy WP Hotelier. What to do with the credit card info it’s up to you. Anyway, it’s a very bad practice store sensitive data like that on your server. First of all you must be PCI compliant (https://www.pcisecuritystandards.org/). Second, it’s better to delegate these things to a most secure solution, like PayPal, Stripe, etc. For this reason credit card fields were not included in the plugin (and never will be).

    4. It’s explained in the doc above: https://docs.wphotelier.com/article/70-add-new-booking-fields

    All the custom code goes into the functions.php file of your child theme.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Offline Payment Plugin’ is closed to new replies.