• trebair

    (@trebair)


    Hi We’ve had our site live now for about a week and we have had 2 instances where a customer has made a booking, they have received a cancellation as well as a confirmation email. The cancellation references a booking that was not processed. I’ve enabled logs and this is what is showing…

    The logs show reservation #1519…

    03-14-2019 @ 07:28:06 – Generating payment for reservation 1519. Notify URL: https://www.##############.com/?htl-api=HTL_Gateway_Paypal
    03-14-2019 @ 07:28:48 – Checking IPN response is valid
    03-14-2019 @ 07:28:52 – IPN Request: Array

    [body] => Array
    (
    [cmd] => _notify-validate
    [mc_gross] => 55.00
    [invoice] => 1519

    //
    //
    //

    03-14-2019 @ 07:28:52 – Received valid response from PayPal
    03-14-2019 @ 07:28:52 – Found reservation #1519
    03-14-2019 @ 07:28:52 – Payment status: completed

    And then…

    03-14-2019 @ 10:46:12 – Generating payment for reservation 1520. Notify URL: https://www.##############.com/?htl-api=HTL_Gateway_Paypal
    03-14-2019 @ 10:48:31 – Generating payment for reservation 1521. Notify URL: https://www.##############.com/?htl-api=HTL_Gateway_Paypal
    03-14-2019 @ 10:50:56 – Checking IPN response is valid
    03-14-2019 @ 10:50:59 – IPN Request: Array

    [body] => Array
    (
    [cmd] => _notify-validate
    [mc_gross] => 165.00
    [invoice] => 1521
    //
    //
    //

    03-14-2019 @ 10:50:59 – Received valid response from PayPal
    03-14-2019 @ 10:50:59 – Found reservation #1521
    03-14-2019 @ 10:50:59 – Payment status: completed

    It seems to be generating payment for 1520 then going straight onto 1521? There is no record of 1520.

    Is there any reason for this that you might know?
    Tony

Viewing 1 replies (of 1 total)
  • Plugin Author benitolopez

    (@benitolopez)

    Hi,

    That’s weird. Of course, it should not happen. Seems that the reservation is processed twice for some reason.

    Please check this:
    – What theme are you using? Please disable it and use Twenty Seventeen (or https://manila.wphotelier.com/)
    – Seems obvious but disable all your plugins except for Easy WP Hotelier of course

    You said that your site is live, so make those tests in a stage server. You can use PayPal sandbox to simulate the process completely.

Viewing 1 replies (of 1 total)
  • The topic ‘Customer getting cancellation and confirmation when booking’ is closed to new replies.